iwlwifi: mvm: don't use hardcoded num of scan channels
authorDavid Spinadel <david.spinadel@intel.com>
Thu, 5 Jun 2014 08:20:43 +0000 (11:20 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Jun 2014 18:55:24 +0000 (21:55 +0300)
commit762533ba9c0306b97e8587fdcafc500a3d7115ae
treef9a2b699a55cf256ec36c616b00fc6b3ac39eaf1
parent35a4e1817187db6f3db609c1fce913c661446ab6
iwlwifi: mvm: don't use hardcoded num of scan channels

Use num of scan channels as advertised by fw TLV.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/iwl-fw-file.h
drivers/net/wireless/iwlwifi/iwl-fw.h
drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/mvm/scan.c