]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wireless/iwlwifi/dvm/scan.c
Merge branch 'stable-3.14' of git://git.infradead.org/users/pcmoore/selinux into...
[~andy/linux] / drivers / net / wireless / iwlwifi / dvm / scan.c
index 35e0ee8b4e5b64162ecdb2287ae53ab3acd5ee4b..be98b913ed582046d6598d0cf7454cf3bd8278cc 100644 (file)
@@ -2,7 +2,7 @@
  *
  * GPL LICENSE SUMMARY
  *
- * Copyright(c) 2008 - 2013 Intel Corporation. All rights reserved.
+ * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of version 2 of the GNU General Public License as
@@ -544,7 +544,7 @@ static int iwl_get_channels_for_scan(struct iwl_priv *priv,
                channel = chan->hw_value;
                scan_ch->channel = cpu_to_le16(channel);
 
-               if (!is_active || (chan->flags & IEEE80211_CHAN_PASSIVE_SCAN))
+               if (!is_active || (chan->flags & IEEE80211_CHAN_NO_IR))
                        scan_ch->type = SCAN_CHANNEL_TYPE_PASSIVE;
                else
                        scan_ch->type = SCAN_CHANNEL_TYPE_ACTIVE;