diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2010-10-01 09:55:05 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-05 17:35:24 (GMT) |
commit | 8e0167a4bdce4adcea64d2197378673d332cda28 (patch) | |
tree | 7b95545f4dabc63749965d42a943ea3b561bffda /net/mac80211/main.c | |
parent | 9094a086f24bfb1d1f244883020c4d9453ffc0b6 (diff) | |
download | linux-fsl-qoriq-8e0167a4bdce4adcea64d2197378673d332cda28.tar.xz |
ath9k : Fix for displaying the channel number
In the ath9k debugging feature 'wiphy' the current channel used by the
station is incorrectly displayed.This is because the channels available
are sequentially mapped from numbers 0 to 37.This mapping cannot be
changed as the channel number is also used as an array index
This fix solves the above problem by calculating the channel
number from center frequency.
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions