projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d30244a
)
staging: wilc1000: remove unnecessary define FIVE_GHZ_BAND
author
Glen Lee
<
[email protected]
>
Wed, 16 Sep 2015 01:43:48 +0000
(10:43 +0900)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 17 Sep 2015 04:34:44 +0000
(21:34 -0700)
wilc1000 driver does not support five Ghz band. Remove FIVE_GHZ_BAND and
it's related code.
Signed-off-by: Glen Lee <
[email protected]
>
Signed-off-by: Tony Cho <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/wilc1000/coreconfigurator.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/coreconfigurator.c
b/drivers/staging/wilc1000/coreconfigurator.c
index c46fe9f1bc8828d5a828b7b531eeed7384552305..ac3da88630643056c1036a029785daa3b94d22e3 100644
(file)
--- a/
drivers/staging/wilc1000/coreconfigurator.c
+++ b/
drivers/staging/wilc1000/coreconfigurator.c
@@
-550,15
+550,9
@@
u8 get_current_channel_802_11n(u8 *pu8msa, u16 u16RxLen)
u8 get_current_channel(u8 *pu8msa, u16 u16RxLen)
{
-#ifdef FIVE_GHZ_BAND
- /* Get the current channel as its not set in */
- /* 802.11a beacons/probe response */
- return (get_rf_channel() + 1);
-#else /* FIVE_GHZ_BAND */
/* Extract current channel information from */
/* the beacon/probe response frame */
return get_current_channel_802_11n(pu8msa, u16RxLen);
-#endif /* FIVE_GHZ_BAND */
}
/**