Commit f57fb215 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: use BIT macro



This patch replaces bit shift with BIT(x) macro.

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77c19f3a
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -12,13 +12,13 @@

/* The following macros describe the bitfield map used by the firmware to determine its 11i mode */
#define NO_ENCRYPT		0
#define ENCRYPT_ENABLED	(1 << 0)
#define WEP					(1 << 1)
#define WEP_EXTENDED		(1 << 2)
#define WPA					(1 << 3)
#define WPA2				(1 << 4)
#define AES					(1 << 5)
#define TKIP					(1 << 6)
#define ENCRYPT_ENABLED		BIT(0)
#define WEP			BIT(1)
#define WEP_EXTENDED		BIT(2)
#define WPA			BIT(3)
#define WPA2			BIT(4)
#define AES			BIT(5)
#define TKIP			BIT(6)

#ifdef WILC_P2P
/* #define	USE_SUPPLICANT_GO_INTENT */