From f70c895e9b372ce94827167ece47502ce5fc1369 Mon Sep 17 00:00:00 2001 From: avos Date: Thu, 3 Mar 2016 19:53:46 +0000 Subject: [PATCH] net80211: drop -> 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 --- sys/net80211/ieee80211_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c index 9f6a4d4de9d6..ee14ffd62e69 100644 --- a/sys/net80211/ieee80211_sta.c +++ b/sys/net80211/ieee80211_sta.c @@ -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 */