diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-09-22 18:39:17 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-27 01:22:27 +0400 |
commit | 560e334dbd9907ecdd25318fbdb33179c5d5a3bd (patch) | |
tree | 4b69219eca36a0b5914682a7ac27c2d9ebb8e1e3 /drivers/net/wireless/rtlwifi/wifi.h | |
parent | 8d9e464a27e4afca4782a632f4bb18ea5e1eec5d (diff) | |
download | linux-560e334dbd9907ecdd25318fbdb33179c5d5a3bd.tar.xz |
rtlwifi: btcoexist: Fix Smatch warning
The capability for 802.11ac will soon be added to these drivers. Once
that is done, a bitmask will be too large for the data storage.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/wifi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h index 541b077ae867..a943a245d680 100644 --- a/drivers/net/wireless/rtlwifi/wifi.h +++ b/drivers/net/wireless/rtlwifi/wifi.h @@ -1267,7 +1267,7 @@ struct rtl_mac { u8 sgi_40; u8 sgi_20; u8 bw_40; - u8 mode; /* wireless mode */ + u16 mode; /* wireless mode */ u8 slot_time; u8 short_preamble; u8 use_cts_protect; |