Skip to content

Commit

Permalink
Staging: wlan-ng: fix p80211wext_mhz_to_channel for channel 14
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Kennedy authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 9d3b3bb commit 044bc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/wlan-ng/p80211wext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 044bc96

Please sign in to comment.