diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-01-31 13:01:35 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-31 15:06:25 -0500 |
commit | 5a3a0352f39c81dfa5c30a190ad04d115616c3e6 (patch) | |
tree | 9992f869f56493fa17ed2cbb22143cb9aa246028 /fs/nilfs2 | |
parent | 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 (diff) |
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 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions