summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/coreconfigurator.c
diff options
context:
space:
mode:
authorGlen Lee2015-09-16 11:53:21 +0200
committerGreg Kroah-Hartman2015-09-17 06:43:06 +0200
commitfcc6ef9230373eeb0c6d897c22fef390378abc3b (patch)
treeacfec8101d22cd95a14db38878d9fb0a5c945668 /drivers/staging/wilc1000/coreconfigurator.c
parentstaging: wilc1000: remove define WILC_AP_EXTERNAL_MLME and ifdef line (diff)
downloadkernel-qcow2-linux-fcc6ef9230373eeb0c6d897c22fef390378abc3b.tar.gz
kernel-qcow2-linux-fcc6ef9230373eeb0c6d897c22fef390378abc3b.tar.xz
kernel-qcow2-linux-fcc6ef9230373eeb0c6d897c22fef390378abc3b.zip
staging: wilc1000: remove define WILC_P2P and ifdef line
WILC_P2P is always used in the driver. So delete define WILC_P2P and ifdef line. 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>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index aecaa033447b..b7a4bffa10af 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -476,11 +476,9 @@ s32 ParseNetworkInfo(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo)
/* Get the cap_info */
pstrNetworkInfo->u16CapInfo = get_cap_info(pu8msa);
- #ifdef WILC_P2P
/* Get time-stamp [Low only 32 bit] */
pstrNetworkInfo->u32Tsf = get_beacon_timestamp_lo(pu8msa);
PRINT_D(CORECONFIG_DBG, "TSF :%x\n", pstrNetworkInfo->u32Tsf);
- #endif
/* Get full time-stamp [Low and High 64 bit] */
u32Tsf_Lo = get_beacon_timestamp_lo(pu8msa);