Do not acquire IEEE80211_LOCK twice in cac_timeout(); reuse
locked function instead. It is externally visible since r257065. MFC after: 5 days
This commit is contained in:
parent
4215ce4820
commit
4ab4d681f3
@ -156,8 +156,7 @@ cac_timeout(void *arg)
|
||||
/* XXX clobbers any existing desired channel */
|
||||
/* NB: dfs->newchan may be NULL, that's ok */
|
||||
vap->iv_des_chan = dfs->newchan;
|
||||
/* XXX recursive lock need ieee80211_new_state_locked */
|
||||
ieee80211_new_state(vap, IEEE80211_S_SCAN, 0);
|
||||
ieee80211_new_state_locked(vap, IEEE80211_S_SCAN, 0);
|
||||
} else {
|
||||
if_printf(vap->iv_ifp,
|
||||
"CAC timer on channel %u (%u MHz) expired; "
|
||||
|
Loading…
x
Reference in New Issue
Block a user