mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Define macro BIT() in qca_vendor.h
As qca_vendor.h alone can be included by other applications, define macro BIT() in qca_vendor.h itself if not yet defined, e.g., by including utils/common.h before qca_vendor.h. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
9a0edf1700
commit
490d90db40
@ -19,6 +19,10 @@
|
||||
|
||||
#define OUI_QCA 0x001374
|
||||
|
||||
#ifndef BIT
|
||||
#define BIT(x) (1U << (x))
|
||||
#endif
|
||||
|
||||
/**
|
||||
* enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user