提交 044bc96b 编写于 作者: R Richard Kennedy 提交者: Greg Kroah-Hartman

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: NRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9d3b3bb0
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册