aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlen Lee <glen.lee@atmel.com>2015-09-16 10:43:47 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-16 21:34:44 -0700
commitd30244a032f2e05e5125b45f20648ebe7dec2798 (patch)
tree1d096282c3dd22d556196f03d3e7cc540a22c754
parentstaging: wilc1000: remove PANDA_BOARD (diff)
staging: wilc1000: remove useless define PHY_802_11n
The define PHY_802_11n is useless because wilc1000 support 802.11n as always. Remove PHY_802_11n and it related code. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 8164a33c6732..c46fe9f1bc88 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -17,7 +17,6 @@
/* Constants */
/*****************************************************************************/
#define INLINE static __inline
-#define PHY_802_11n
#define MAX_CFG_PKTLEN 1450
#define MSG_HEADER_LEN 4
#define QUERY_MSG_TYPE 'Q'
@@ -551,7 +550,6 @@ u8 get_current_channel_802_11n(u8 *pu8msa, u16 u16RxLen)
u8 get_current_channel(u8 *pu8msa, u16 u16RxLen)
{
-#ifdef PHY_802_11n
#ifdef FIVE_GHZ_BAND
/* Get the current channel as its not set in */
/* 802.11a beacons/probe response */
@@ -561,9 +559,6 @@ u8 get_current_channel(u8 *pu8msa, u16 u16RxLen)
/* the beacon/probe response frame */
return get_current_channel_802_11n(pu8msa, u16RxLen);
#endif /* FIVE_GHZ_BAND */
-#else
- return 0;
-#endif /* PHY_802_11n */
}
/**