Fix an unused variable warning/error when invariants isn't enabled.
Reported by: bz
This commit is contained in:
parent
7c88ef5a97
commit
69338c6aed
@ -285,9 +285,8 @@ static void
|
||||
tdma_beacon_miss(struct ieee80211vap *vap)
|
||||
{
|
||||
struct ieee80211_tdma_state *ts = vap->iv_tdma;
|
||||
struct ieee80211com *ic = vap->iv_ic;
|
||||
|
||||
IEEE80211_LOCK_ASSERT(ic);
|
||||
IEEE80211_LOCK_ASSERT(vap->iv_ic);
|
||||
|
||||
KASSERT((vap->iv_ic->ic_flags & IEEE80211_F_SCAN) == 0, ("scanning"));
|
||||
KASSERT(vap->iv_state == IEEE80211_S_RUN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user