linux/drivers/net/wireless/iwlwifi/mvm
Avraham Stern dc9f69b907 iwlwifi: mvm: Fix regular scan priority
The code checks the total number of iterations to differentiate
between regular scan and scheduled scan. However, regular scan has
a total of one iteration, not zero. As a result, regular scan will
have lower priority than it should have, and in case scheduled
scan is already running when regular scan is requested, regular scan
will be delayed until scheduled scan is aborted.
Fix that by checking for total iterations number of one as an
identifier for regular scan.

Fixes: 133c8259f8 ("iwlwifi: mvm: rename generic_scan_cmd functions to dwell")
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2015-07-28 11:36:02 +03:00
..
Makefile iwlwifi: mvm: move TDLS code to separate file 2014-09-14 22:02:24 +03:00
binding.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
coex.c iwlwifi: prepare for higher API/CAPA bits 2015-06-03 09:45:37 +03:00
coex_legacy.c iwlwifi: mvm: BT Coex - duplicate the command if sent ASYNC 2015-05-21 22:27:03 +03:00
constants.h iwlwifi: mvm: reduce quota threshold 2015-02-03 09:01:44 +02:00
d3.c iwlwifi: pcie: re-enable interrupts on resume 2015-06-03 09:41:42 +03:00
debugfs-vif.c iwlwifi: mvm: Add debugfs entry for Tx power limit 2015-05-28 13:35:13 +03:00
debugfs.c iwlwifi: prepare for higher API/CAPA bits 2015-06-03 09:45:37 +03:00
debugfs.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-coex.h iwlwifi: mvm: BT Coex - update the new API 2015-03-12 09:57:45 +02:00
fw-api-d3.h iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
fw-api-mac.h iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
fw-api-power.h iwlwifi: mvm: fix Tx Power firmware API 2015-04-19 17:06:20 +03:00
fw-api-rs.h iwlwifi: mvm: rs: enable forcing single stream Tx decision 2015-02-01 15:39:29 +02:00
fw-api-scan.h iwlwifi: mvm: Add preemptive flag to scheulded scan 2015-07-12 19:54:18 +03:00
fw-api-sta.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-stats.h iwlwifi: mvm: support radio statistics as global survey 2015-03-01 16:55:09 +02:00
fw-api-tx.h iwlwifi: mvm: let the firmware configure the scheduler 2015-01-22 17:54:02 +02:00
fw-api.h iwlwifi: mvm: Add DC2DC_CONFIG_CMD (0x83) cmd & TLV 2015-06-03 09:52:44 +03:00
fw.c iwlwifi: prepare for higher API/CAPA bits 2015-06-03 09:45:37 +03:00
led.c iwlwifi: mvm: don't fail completely if led mode is not supported 2014-03-16 08:59:05 +02:00
mac-ctxt.c mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
mac80211.c mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
mvm.h iwlwifi: mvm: advertise only HW-supported ciphers 2015-06-03 10:12:26 +03:00
nvm.c iwlwifi: prepare for higher API/CAPA bits 2015-06-03 09:45:37 +03:00
offloading.c iwlwifi: mvm: remove IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID 2014-12-01 12:04:38 +02:00
ops.c iwlwifi: mvm: Add DC2DC_CONFIG_CMD (0x83) cmd & TLV 2015-06-03 09:52:44 +03:00
phy-ctxt.c iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
power.c * Location Aware Regulatory was added by Arik 2015-03-13 15:09:18 +02:00
quota.c iwlwifi: mvm: always update the quota after association 2015-03-12 09:57:34 +02:00
rs.c iwlwifi: prepare for higher API/CAPA bits 2015-06-03 09:45:37 +03:00
rs.h iwlwifi: rs: cleanup last_txrate_idx 2015-04-29 13:12:47 +03:00
rx.c iwlwifi: prepare for higher API/CAPA bits 2015-06-03 09:45:37 +03:00
scan.c iwlwifi: mvm: Fix regular scan priority 2015-07-28 11:36:02 +03:00
sf.c iwlwifi: mvm: Always enable the smart FIFO 2015-03-12 09:57:47 +02:00
sta.c iwlwifi: mvm: Avoid accessing Null pointer when setting igtk 2015-06-26 09:01:30 +03:00
sta.h iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
tdls.c iwlwifi: mvm: ignore stale TDLS ch-switch responses 2015-02-01 15:57:22 +02:00
testmode.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
time-event.c iwlwifi: mvm: check time-event vif to avoid bad deletion 2015-07-12 19:54:17 +03:00
time-event.h iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
tt.c iwlwifi: mvm: make thermal throttling values configurable per NIC family 2015-04-29 13:57:11 +03:00
tx.c iwlwifi: mvm: fix antenna selection when BT is active 2015-06-26 09:01:29 +03:00
utils.c iwlwifi: prepare for higher API/CAPA bits 2015-06-03 09:45:37 +03:00