brcmfmac: Fix bug in flowring management.
authorHante Meuleman <meuleman@broadcom.com>
Fri, 18 Sep 2015 20:08:09 +0000 (22:08 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:55:52 +0000 (10:55 +0300)
commit9f64df940cfe734156ec434807611e014278b359
tree5eb4d70649f4f021b1e509e89d7a549193b3645b
parentae7c03f68ee24e51f3ded9265715405df72812ba
brcmfmac: Fix bug in flowring management.

The hash index stored in the flowrings is of type u16 but gets
stored in u8. This can result in incorrect indexing and possibly
result in crashes. This patch fixes the type.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/flowring.h