Message ID | 1527267420-23363-2-git-send-email-siva8118@gmail.com |
---|---|
State | New |
Headers | show |
Series | [1/2] UBUNTU: SAUCE: Redpine: fix for issue in ap restart | expand |
diff --git a/ubuntu/rsi/rsi_91x_mac80211.c b/ubuntu/rsi/rsi_91x_mac80211.c index 4a03b1a..034a5c1 100644 --- a/ubuntu/rsi/rsi_91x_mac80211.c +++ b/ubuntu/rsi/rsi_91x_mac80211.c @@ -429,6 +429,7 @@ void rsi_mac80211_hw_scan_cancel(struct ieee80211_hw *hw, rsi_wait_event(&common->cancel_hw_scan_event, EVENT_WAIT_FOREVER); rsi_reset_event(&common->cancel_hw_scan_event); + cancel_work_sync(&common->scan_work); common->scan_request = NULL; }