--- a/net80211/ieee80211_proto.c
+++ b/net80211/ieee80211_proto.c
-@@ -1406,7 +1406,8 @@ __ieee80211_newstate(struct ieee80211vap
+@@ -1409,7 +1409,8 @@ __ieee80211_newstate(struct ieee80211vap
vap->iv_state = nstate; /* state transition */
del_timer(&vap->iv_mgtsend);
if ((vap->iv_opmode != IEEE80211_M_HOSTAP) &&
ieee80211_cancel_scan(vap); /* background scan */
ni = vap->iv_bss; /* NB: no reference held */
switch (nstate) {
-@@ -1448,7 +1449,8 @@ __ieee80211_newstate(struct ieee80211vap
+@@ -1451,7 +1452,8 @@ __ieee80211_newstate(struct ieee80211vap
}
goto reset;
case IEEE80211_S_SCAN:
goto reset;
reset:
ieee80211_reset_bss(vap);
-@@ -1985,7 +1987,9 @@ ieee80211_newstate(struct ieee80211vap *
+@@ -1989,7 +1991,9 @@ ieee80211_newstate(struct ieee80211vap *
}
}
}