]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f6e779a9a6d22ec492fa8f35e02a23cfacd20cf
treef638b177af19d45b18fbe02c17807ff82daa6b04
parent0a69e586c21676842eef6384de7090ec2247447f
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