From a5bfbf436794ea631f10632294439a1433694592 Mon Sep 17 00:00:00 2001 From: proski Date: Fri, 5 Oct 2007 17:01:13 +0000 Subject: [PATCH] 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 --- net80211/ieee80211_scan_ap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net80211/ieee80211_scan_ap.c b/net80211/ieee80211_scan_ap.c index b7803df..cf035a5 100644 --- a/net80211/ieee80211_scan_ap.c +++ b/net80211/ieee80211_scan_ap.c @@ -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; } }