mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Fix lock context imbalance in ap_end() found by sparse
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2726 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
d9ca43629b
commit
a5bfbf4367
@ -650,6 +650,7 @@ ap_end(struct ieee80211_scan_state *ss, struct ieee80211vap *vap,
|
||||
if ((c = ieee80211_find_channel(ic, c->ic_freq,
|
||||
c->ic_flags & ~IEEE80211_CHAN_TURBO)) == NULL) {
|
||||
/* should never happen ?? */
|
||||
SCAN_AP_UNLOCK_IRQ_EARLY(as);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user