mac80211: reduce number of __ieee80211_scan_completed calls
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 6 Oct 2010 09:22:08 +0000 (11:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Oct 2010 20:30:41 +0000 (16:30 -0400)
commit259b62e35bf44a97983f275de569929a7d2bd5dd
treef638b177af19d45b18fbe02c17807ff82daa6b04
parent78159788e1d0909ffa6beb714dcca7f3aa4574a2
mac80211: reduce number of __ieee80211_scan_completed calls

Use goto instruction to call __ieee80211_scan_completed only ones in
ieee80211_scan_work. This is prepare for the next patch.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/scan.c