mac80211: wait for scan work complete before restarting hw
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 13 Sep 2010 12:46:42 +0000 (14:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:14:25 +0000 (16:14 -0400)
commitedeb78a7fa838b7fb9c2043680bd8da7cb5cb0e5
tree6f788ac16b25e1ab065b5e01fe27676b8aecb9c7
parente7e16b90b477a07d17af37dceb2e8af1ddbd9712
mac80211: wait for scan work complete before restarting hw

This is needed to avoid warning in ieee80211_restart_hw about hardware
scan in progress.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi W Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c