]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net, wireless: Don't return uninitialized in __cfg80211_stop_sched_scan()
authorJesper Juhl <jj@chaosbits.net>
Wed, 29 Jun 2011 20:49:33 +0000 (22:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:26:51 +0000 (15:26 -0400)
commit3b4670ffe7824d1fc4db2f73101015056ecb4415
treea67d37ac138195b25b8fde308898f5309209145c
parent3bff1865186c6bb97855f0c13e3850543dce9cef
net, wireless: Don't return uninitialized in __cfg80211_stop_sched_scan()

If the 'driver_initiated' function argument to
__cfg80211_stop_sched_scan() is not 0 then we'll return an
uninitialized 'err' from the function.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/scan.c