diff options
author | Stanislaw Gruszka <[email protected]> | 2011-01-31 13:01:35 +0100 |
---|---|---|
committer | John W. Linville <[email protected]> | 2011-01-31 15:06:25 -0500 |
commit | 5a3a0352f39c81dfa5c30a190ad04d115616c3e6 (patch) | |
tree | 9992f869f56493fa17ed2cbb22143cb9aa246028 /lib/dynamic_debug.c | |
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 <[email protected]>
Reviewed-by: Johannes Berg <[email protected]>
Acked-by: Wey-Yi Guy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions