common: Provide the BIT() macro locally
wpa_ctrl.h can be installed separately with libwpa_client, so utils/common.h won't be available to its users. Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
This commit is contained in:
parent
f5849f1c7c
commit
3f10f716af
1 changed files with 4 additions and 0 deletions
|
@ -380,6 +380,10 @@ extern "C" {
|
||||||
#define WDS_STA_INTERFACE_ADDED "WDS-STA-INTERFACE-ADDED "
|
#define WDS_STA_INTERFACE_ADDED "WDS-STA-INTERFACE-ADDED "
|
||||||
#define WDS_STA_INTERFACE_REMOVED "WDS-STA-INTERFACE-REMOVED "
|
#define WDS_STA_INTERFACE_REMOVED "WDS-STA-INTERFACE-REMOVED "
|
||||||
|
|
||||||
|
#ifndef BIT
|
||||||
|
#define BIT(x) (1U << (x))
|
||||||
|
#endif
|
||||||
|
|
||||||
/* BSS command information masks */
|
/* BSS command information masks */
|
||||||
|
|
||||||
#define WPA_BSS_MASK_ALL 0xFFFDFFFF
|
#define WPA_BSS_MASK_ALL 0xFFFDFFFF
|
||||||
|
|
Loading…
Reference in a new issue