diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 2220331f4b7c..38b3468bc515 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -696,9 +696,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
696 | return -EINVAL; | 696 | return -EINVAL; |
697 | #endif | 697 | #endif |
698 | 698 | ||
699 | if ((hw->flags & IEEE80211_HW_SCAN_WHILE_IDLE) && !local->ops->hw_scan) | ||
700 | return -EINVAL; | ||
701 | |||
702 | if (!local->use_chanctx) { | 699 | if (!local->use_chanctx) { |
703 | for (i = 0; i < local->hw.wiphy->n_iface_combinations; i++) { | 700 | for (i = 0; i < local->hw.wiphy->n_iface_combinations; i++) { |
704 | const struct ieee80211_iface_combination *comb; | 701 | const struct ieee80211_iface_combination *comb; |