diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2010-03-17 14:40:56 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:35:50 -0700 |
commit | 044bc96bef5e78d4bb9b5c7ad12814afafb901cf (patch) | |
tree | 673a11ba917fa6ba1dd7af9bdb14637d6d9fa424 | |
parent | 9d3b3bb0b5807b9305e8c9e2688603f785ead0cd (diff) | |
download | op-kernel-dev-044bc96bef5e78d4bb9b5c7ad12814afafb901cf.zip op-kernel-dev-044bc96bef5e78d4bb9b5c7ad12814afafb901cf.tar.gz |
Staging: wlan-ng: fix p80211wext_mhz_to_channel for channel 14
Channel 14 is 2484 Mhz (cf p80211wext_channel_to_mhz) so this patch
corrects what seems to be just a typo.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/wlan-ng/p80211wext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c index 936be55..e1b5409 100644 --- a/drivers/staging/wlan-ng/p80211wext.c +++ b/drivers/staging/wlan-ng/p80211wext.c @@ -73,7 +73,7 @@ static u8 p80211_mhz_to_channel(u16 mhz) if (mhz >= 5000) return (mhz - 5000) / 5; - if (mhz == 2482) + if (mhz == 2484) return 14; if (mhz >= 2407) |