diff options
author | 2019-10-01 14:45:01 +0300 | |
---|---|---|
committer | 2019-10-02 07:34:51 +0300 | |
commit | 4a50d454502f1401171ff061a5424583f91266db (patch) | |
tree | 2c69aaa4b69c419339748aac4584d59bb26c089b /drivers/net/wireless/ath/ath5k/pci.c | |
parent | rtw88: remove misleading module parameter rtw_fw_support_lps (diff) | |
download | linux-dev-4a50d454502f1401171ff061a5424583f91266db.tar.xz linux-dev-4a50d454502f1401171ff061a5424583f91266db.zip |
cw1200: Fix a signedness bug in cw1200_load_firmware()
The "priv->hw_type" is an enum and in this context GCC will treat it
as an unsigned int so the error handling will never trigger.
Fixes: a910e4a94f69 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/pci.c')
0 files changed, 0 insertions, 0 deletions