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:
proski 2007-10-05 17:01:13 +00:00
parent d9ca43629b
commit a5bfbf4367

View File

@ -650,6 +650,7 @@ ap_end(struct ieee80211_scan_state *ss, struct ieee80211vap *vap,
if ((c = ieee80211_find_channel(ic, c->ic_freq, if ((c = ieee80211_find_channel(ic, c->ic_freq,
c->ic_flags & ~IEEE80211_CHAN_TURBO)) == NULL) { c->ic_flags & ~IEEE80211_CHAN_TURBO)) == NULL) {
/* should never happen ?? */ /* should never happen ?? */
SCAN_AP_UNLOCK_IRQ_EARLY(as);
return 0; return 0;
} }
} }