Make ieee80211broadcastaddr global, so that drivers or other
code may use it and not paste.
This commit is contained in:
parent
7fc10b6b41
commit
92002144c0
@ -82,7 +82,7 @@ const int ieee80211_opcap[IEEE80211_OPMODE_MAX] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static const uint8_t ieee80211broadcastaddr[IEEE80211_ADDR_LEN] =
|
||||
const uint8_t ieee80211broadcastaddr[IEEE80211_ADDR_LEN] =
|
||||
{ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
|
||||
|
||||
static void ieee80211_syncflag_locked(struct ieee80211com *ic, int flag);
|
||||
|
@ -36,6 +36,10 @@
|
||||
/* is 802.11 address multicast/broadcast? */
|
||||
#define IEEE80211_IS_MULTICAST(_a) (*(_a) & 0x01)
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern const uint8_t ieee80211broadcastaddr[];
|
||||
#endif
|
||||
|
||||
typedef uint16_t ieee80211_seq;
|
||||
|
||||
/* IEEE 802.11 PLCP header */
|
||||
|
Loading…
Reference in New Issue
Block a user