linux/drivers/net/wireless/intel
Johannes Berg 76dd61d2c5 iwlwifi: pcie gen2: check iwl_pcie_gen2_set_tb() return value
If we use the iwl_pcie_gen2_set_tb() return value for BIT(),
we should validate that it's not going to be negative, so do
the check and bail out if we hit an error. We shouldn't, as
we check if it'll fit beforehand, but better be safe.

Fixes: ab6c644539 ("iwlwifi: pcie: copy TX functions to new transport")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2018-10-06 10:25:50 +03:00
..
ipw2x00 ipw2x00: Remove unnecessary parentheses 2018-10-01 18:30:26 +03:00
iwlegacy iwlegacy: fix spelling mistake "acumulative" -> "accumulative" 2018-08-09 18:14:12 +03:00
iwlwifi iwlwifi: pcie gen2: check iwl_pcie_gen2_set_tb() return value 2018-10-06 10:25:50 +03:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile