1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/fw
Luca Coelho 1edd56e69d iwlwifi: fix WGDS check when WRDS is disabled
In the reference BIOS implementation, WRDS can be disabled without
disabling WGDS.  And this happens in most cases where WRDS is
disabled, causing the WGDS without WRDS check and issue an error.

To avoid this issue, we change the check so that we only considered it
an error if the WRDS entry doesn't exist.  If the entry (or the
selected profile is disabled for any other reason), we just silently
ignore WGDS.

Cc: stable@vger.kernel.org # 4.14+
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=205513
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20200417133700.72ad25c3998b.I875d935cefd595ed7f640ddcfc7bc802627d2b7f@changeid
2020-04-21 15:40:30 +03:00
..
api iwlwifi: mvm: limit maximum queue appropriately 2020-04-21 15:39:03 +03:00
acpi.c iwlwifi: fix WGDS check when WRDS is disabled 2020-04-21 15:40:30 +03:00
acpi.h iwlwifi: don't send GEO_TX_POWER_LIMIT if no wgds table 2020-03-23 18:38:03 +02:00
dbg.c wireless-drivers-next patches for v5.7 2020-03-27 15:40:24 -07:00
dbg.h iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails 2020-03-06 15:26:32 +02:00
debugfs.c iwlwifi: yoyo: don't allow changing the domain via debugfs 2020-01-04 12:41:55 +02:00
debugfs.h iwlwifi: fw: no need to check return value of debugfs_create functions 2019-02-20 20:47:56 +02:00
error-dump.h iwlwifi: dbg_ini: support FW response/notification region type 2019-10-25 10:09:51 +03:00
file.h iwlwifi: mvm: add soc latency support 2020-03-27 08:12:46 +02:00
img.h iwlwifi: incorporate firmware filename into version 2020-01-04 12:46:14 +02:00
init.c iwlwifi: dbg_ini: remove periodic trigger 2019-09-06 15:52:07 +03:00
notif-wait.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
notif-wait.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
paging.c iwlwifi: add a pointer to the trans_cfg directly in trans 2019-09-06 15:52:00 +03:00
runtime.h iwlwifi: remove IWL_FW_DBG_DOMAIN macro 2020-03-27 08:12:53 +02:00
smem.c iwlwifi: add a pointer to the trans_cfg directly in trans 2019-09-06 15:52:00 +03:00