On 07/13/2017 02:43 AM, Dan Carpenter wrote:
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]>

Thanks for catching this error. I suspect a typo, but your fix is obviously 
correct.

Does the "Fixes" notation imply a Cc to stable? If not, then the patch needs a Cc to stable for 3.14+.

Thanks again,

Larry

Reply via email to