From: Mohammed Shafi Shajakhan Date: Fri, 17 Dec 2010 15:14:36 +0000 (+0530) Subject: ath9k: Properly initialize channel table for 2GHz X-Git-Tag: v2.6.38-rc1~476^2~14^2~3^2~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1c1d0003d6d07c3b269340b8ac3fd2b42fd5ebe;p=platform%2Fkernel%2Flinux-3.10.git ath9k: Properly initialize channel table for 2GHz ath9k channel table for 2Ghz does not seems to initialize the 'band' parameter.Though it does not seems to cause any visible issue it looks odd when we initialize the 'band' parameter for 5Ghz channel table while not so for 2Ghz. Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 1238795..b0e5e716 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -48,6 +48,7 @@ MODULE_PARM_DESC(pmqos, "User specified PM-QOS value"); /* We use the hw_value as an index into our private channel structure */ #define CHAN2G(_freq, _idx) { \ + .band = IEEE80211_BAND_2GHZ, \ .center_freq = (_freq), \ .hw_value = (_idx), \ .max_power = 20, \