diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 25311e1ceed7..799f5eb61ece 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -747,7 +747,7 @@ static void iwl_bg_request_scan(struct work_struct *data) | |||
747 | 747 | ||
748 | scan->tx_cmd.len = cpu_to_le16(cmd_len); | 748 | scan->tx_cmd.len = cpu_to_le16(cmd_len); |
749 | 749 | ||
750 | if (priv->iw_mode == NL80211_IFTYPE_MONITOR) | 750 | if (iwl_is_monitor_mode(priv)) |
751 | scan->filter_flags = RXON_FILTER_PROMISC_MSK; | 751 | scan->filter_flags = RXON_FILTER_PROMISC_MSK; |
752 | 752 | ||
753 | scan->filter_flags |= (RXON_FILTER_ACCEPT_GRP_MSK | | 753 | scan->filter_flags |= (RXON_FILTER_ACCEPT_GRP_MSK | |