mirror of
https://github.com/proski/madwifi
synced 2025-02-20 01:05:06 +03:00
Additional null check on iv_auth
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3484 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
85119ae227
commit
3f17ff7335
@ -1360,7 +1360,7 @@ __ieee80211_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int
|
||||
ieee80211_reset_bss(vap);
|
||||
break;
|
||||
}
|
||||
if (vap->iv_auth->ia_detach != NULL)
|
||||
if (vap->iv_auth != NULL && vap->iv_auth->ia_detach != NULL)
|
||||
vap->iv_auth->ia_detach(vap);
|
||||
break;
|
||||
case IEEE80211_S_SCAN:
|
||||
|
Loading…
x
Reference in New Issue
Block a user