diff options
| author | Dan Carpenter <[email protected]> | 2017-07-13 07:43:23 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-07-28 15:42:59 +0000 |
| commit | d28ac7be15c70343cb270648e252f54d770eca6a (patch) | |
| tree | 8e134c026f8312f31698a18631a927cf47a89a12 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
| parent | rtlwifi: Fix memory leak when firmware request fails (diff) | |
| download | kernel-d28ac7be15c70343cb270648e252f54d770eca6a.tar.gz kernel-d28ac7be15c70343cb270648e252f54d770eca6a.zip | |
rtlwifi: rtl8821ae: Fix HW_VAR_NAV_UPPER operation
The cast here is wrong. We want to cast the pointer but we accidentally
do a no-op cast of the value. We normally want to set us_nav_upper to
WIFI_NAV_UPPER_US (30000) but because of this bug we instead set it to
184 on little endian systems and 0 on big endian ones.
Fixes: 3c05bedb5fef ("Staging: rtl8812ae: Add Realtek 8821 PCI WIFI driver")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Larry Finger <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions
