Fix another compiler warning issue when invariants are disabled.

This commit is contained in:
Adrian Chadd 2013-03-09 15:35:31 +00:00
parent 1fc8c346d5
commit 6ce4aeb88f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248106

View file

@ -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) {