summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-01-31 13:01:35 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-01-31 15:06:25 -0500
commit5a3a0352f39c81dfa5c30a190ad04d115616c3e6 (patch)
tree9992f869f56493fa17ed2cbb22143cb9aa246028 /net/mac80211
parent0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 (diff)
downloadlwn-5a3a0352f39c81dfa5c30a190ad04d115616c3e6.tar.gz
lwn-5a3a0352f39c81dfa5c30a190ad04d115616c3e6.zip
iwlwifi: correct frequency settings
After commit 59eb21a6504731fc16db4cf9463065dd61093e08 "cfg80211: Extend channel to frequency mapping for 802.11j" we use uninitialized sband->band when assign channel frequencies, what results that 5GHz channels have erroneous (zero) center_freq value. Patch fixes problem and simplifies code a bit. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions