Drivers can theoretically queue more work in one of their callbacks
from mac80211 suspend, so let's flush it once more to be on the safe
side, just before calling ->stop().
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
}
}
+ /* flush again, in case driver queued work */
+ flush_workqueue(local->hw.workqueue);
+
/* stop hardware */
if (local->open_count) {
ieee80211_led_radio(local, false);