--- a/net80211/ieee80211_proto.c
+++ b/net80211/ieee80211_proto.c
-@@ -1409,7 +1409,8 @@ __ieee80211_newstate(struct ieee80211vap
+@@ -1415,7 +1415,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) {
-@@ -1451,7 +1452,8 @@ __ieee80211_newstate(struct ieee80211vap
+@@ -1457,7 +1458,8 @@ __ieee80211_newstate(struct ieee80211vap
}
goto reset;
case IEEE80211_S_SCAN:
goto reset;
reset:
ieee80211_reset_bss(vap);
-@@ -1989,7 +1991,9 @@ ieee80211_newstate(struct ieee80211vap *
+@@ -1995,7 +1997,9 @@ ieee80211_newstate(struct ieee80211vap *
}
}
}