Fix another compiler warning issue when invariants are disabled.
This commit is contained in:
parent
1fc8c346d5
commit
6ce4aeb88f
@ -597,10 +597,9 @@ ieee80211_send_setup(
|
||||
struct ieee80211vap *vap = ni->ni_vap;
|
||||
struct ieee80211_tx_ampdu *tap;
|
||||
struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *);
|
||||
struct ieee80211com *ic = ni->ni_ic;
|
||||
ieee80211_seq seqno;
|
||||
|
||||
IEEE80211_TX_LOCK_ASSERT(ic);
|
||||
IEEE80211_TX_LOCK_ASSERT(ni->ni_ic);
|
||||
|
||||
wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | type;
|
||||
if ((type & IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_DATA) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user