linux_dsm_epyc7002/drivers/net/wireless/realtek
Dan Carpenter d28ac7be15 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: 3c05bedb5f ("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>
2017-07-28 18:42:59 +03:00
..
rtl8xxxu networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rtl818x networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rtlwifi rtlwifi: rtl8821ae: Fix HW_VAR_NAV_UPPER operation 2017-07-28 18:42:59 +03:00
Kconfig realtek: create separate Kconfig file 2015-11-18 14:28:31 +02:00
Makefile