From 044bc96bef5e78d4bb9b5c7ad12814afafb901cf Mon Sep 17 00:00:00 2001 From: Richard Kennedy Date: Wed, 17 Mar 2010 14:40:56 +0000 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wlan-ng/p80211wext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c index 936be55a5ffb..e1b54094d954 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) -- 2.39.5