brcmfmac: Limit control message length from host to device.
authorHante Meuleman <meuleman@broadcom.com>
Mon, 6 Jan 2014 11:40:38 +0000 (12:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Jan 2014 20:47:59 +0000 (15:47 -0500)
commitd453399229cefff985391f079066ac5a84955537
treeb6a3daa58c293b06e09b13b3840df95fd785755e
parent75b39dd2408833ed4eaa16fe76473d1391ca49ee
brcmfmac: Limit control message length from host to device.

An control request or set message length is restricted to
ETH frame length for the buffer from host to device. This
is limitation is imposed by the firmware.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcdc.c
drivers/net/wireless/brcm80211/brcmfmac/dhd.h