summaryrefslogtreecommitdiff
path: root/drivers/staging/wilc1000/linux_mon.c
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-02-26 22:01:58 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-01 17:22:28 +0100
commit8544b8098a2cf69574764f7c178647b8872ec202 (patch)
treebcf363fb906bcad88bfc1710afc4b58f6415a69a /drivers/staging/wilc1000/linux_mon.c
parent82059dcec99e50a334b486c65b5f1b87c1acd690 (diff)
staging: wilc1000: move multiple definition of same macro to common header
Move the same #define from multiple '.c' files to common header file. Instead of having same macro in different '.c' files, now kept in common '.h' file. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_mon.c')
-rw-r--r--drivers/staging/wilc1000/linux_mon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c
index 91d49c4738dc..bbdfc7aab677 100644
--- a/drivers/staging/wilc1000/linux_mon.c
+++ b/drivers/staging/wilc1000/linux_mon.c
@@ -40,9 +40,6 @@ static u8 broadcast[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
#define IEEE80211_RADIOTAP_F_TX_RTS 0x0004 /* used rts/cts handshake */
#define IEEE80211_RADIOTAP_F_TX_FAIL 0x0001 /* failed due to excessive*/
-#define IS_MANAGMEMENT 0x100
-#define IS_MANAGMEMENT_CALLBACK 0x080
-#define IS_MGMT_STATUS_SUCCES 0x040
#define GET_PKT_OFFSET(a) (((a) >> 22) & 0x1ff)
void WILC_WFI_monitor_rx(u8 *buff, u32 size)