net80211: drop <smth> -> INIT state transition warning (STA mode only)
This warning is irrelevant, since user can execute 'ifconfig wlan0 down' (or turn off card via rfkill switch) at any time. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5511
This commit is contained in:
parent
6203396b65
commit
f70c895e9b
@ -251,7 +251,7 @@ sta_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
|
||||
ieee80211_cancel_scan(vap);
|
||||
break;
|
||||
default:
|
||||
goto invalid;
|
||||
break;
|
||||
}
|
||||
if (ostate != IEEE80211_S_INIT) {
|
||||
/* NB: optimize INIT -> INIT case */
|
||||
|
Loading…
Reference in New Issue
Block a user