diff options
Diffstat (limited to 'net/mac80211/scan.c')
-rw-r--r-- | net/mac80211/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index b0320bb20ab8..7807fa42ed3f 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c | |||
@@ -505,7 +505,7 @@ static int __ieee80211_start_scan(struct ieee80211_sub_if_data *sdata, | |||
505 | 505 | ||
506 | lockdep_assert_held(&local->mtx); | 506 | lockdep_assert_held(&local->mtx); |
507 | 507 | ||
508 | if (local->scan_req) | 508 | if (local->scan_req || ieee80211_is_radar_required(local)) |
509 | return -EBUSY; | 509 | return -EBUSY; |
510 | 510 | ||
511 | if (!ieee80211_can_scan(local, sdata)) { | 511 | if (!ieee80211_can_scan(local, sdata)) { |