diff options
author | adrian <adrian@FreeBSD.org> | 2013-03-09 15:35:31 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-03-09 15:35:31 +0000 |
commit | 7c437f512eeb94b1d81b4c5e5919f759eadddd05 (patch) | |
tree | fec220514c1776a5521263007b3b09f5edfb7f55 | |
parent | e5b2c298d6ea5a21d324e1fece6e4a8a79ce8532 (diff) | |
download | FreeBSD-src-7c437f512eeb94b1d81b4c5e5919f759eadddd05.zip FreeBSD-src-7c437f512eeb94b1d81b4c5e5919f759eadddd05.tar.gz |
Fix another compiler warning issue when invariants are disabled.
-rw-r--r-- | sys/net80211/ieee80211_output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c index 0d51a55..675c87b 100644 --- a/sys/net80211/ieee80211_output.c +++ b/sys/net80211/ieee80211_output.c @@ -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) { |