diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2010-12-17 20:44:36 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-20 14:49:48 -0500 |
commit | b1c1d0003d6d07c3b269340b8ac3fd2b42fd5ebe (patch) | |
tree | 00fafd82fd4ad6bf3d1e8dd35fa3c884195be875 /drivers/net/wireless/ath/ath9k/init.c | |
parent | 18db45c46eae31cee7cfdfd7e671b0201dcdbcd8 (diff) | |
download | lwn-b1c1d0003d6d07c3b269340b8ac3fd2b42fd5ebe.tar.gz lwn-b1c1d0003d6d07c3b269340b8ac3fd2b42fd5ebe.zip |
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 <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 12387950b449..b0e5e716b167 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, \ |