summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-13 10:43:23 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-07-28 18:42:59 +0300
commitd28ac7be15c70343cb270648e252f54d770eca6a (patch)
tree8e134c026f8312f31698a18631a927cf47a89a12 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parentf2764f61fa10593204b0c5e4e9a68dba02112e50 (diff)
downloadlinux-d28ac7be15c70343cb270648e252f54d770eca6a.tar.gz
linux-d28ac7be15c70343cb270648e252f54d770eca6a.tar.bz2
linux-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 <dan.carpenter@oracle.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions