diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-01-31 12:01:35 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-31 20:06:25 (GMT) |
commit | 5a3a0352f39c81dfa5c30a190ad04d115616c3e6 (patch) | |
tree | 9992f869f56493fa17ed2cbb22143cb9aa246028 /drivers/infiniband | |
parent | 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 (diff) | |
download | linux-fsl-qoriq-5a3a0352f39c81dfa5c30a190ad04d115616c3e6.tar.xz |
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 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions