ath6kl: fix regression in ath6kl_upload_board_file()
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 12 Mar 2012 11:22:54 +0000 (13:22 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Mar 2012 12:18:34 +0000 (14:18 +0200)
commitb0fc7c1a643bb0e689cd2846b0edf7c707a87600
tree3feeab27bd61caab3bc7e0ab292c4da2d212734c
parent17a7b16df4ba8e71e149fcf31e0b639ff45ddf84
ath6kl: fix regression in ath6kl_upload_board_file()

My patch 24fc32b3 ("ath6kl: add ath6kl_bmi_write_hi32()") caused a regression
in ath6kl_upload_board_file() and the board_address variable was not
properly initialised in some cases:

ath6kl/init.c:1068:6: warning: ‘board_address’ may be used uninitialized
in this function

Most likely this broke ar6004 support but I can't test that right now.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/init.c