projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d3b3bb
)
Staging: wlan-ng: fix p80211wext_mhz_to_channel for channel 14
author
Richard Kennedy
<richard@rsk.demon.co.uk>
Wed, 17 Mar 2010 14:40:56 +0000
(14:40 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:35:50 +0000
(11:35 -0700)
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>
drivers/staging/wlan-ng/p80211wext.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wlan-ng/p80211wext.c
b/drivers/staging/wlan-ng/p80211wext.c
index 936be55a5ffbceb2f1b64b6fdb07fe8b830b8232..e1b54094d954e386b8f5dad9d815e79a69fa7ede 100644
(file)
--- 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 == 248
2
)
+ if (mhz == 248
4
)
return 14;
if (mhz >= 2407)