]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: increment hard_header_len instead of overriding
authorArend van Spriel <arend@broadcom.com>
Thu, 6 Jun 2013 11:18:06 +0000 (13:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 19:06:24 +0000 (15:06 -0400)
commit38857612f6843c068c700bcad4e3c4b5683f9f8e
treec8a3c1e4e9ed045e28715b63dbd2aa725ae7f75e
parent7e904749945013dc36067a1445d96fff6429ecdd
brcmfmac: increment hard_header_len instead of overriding

In brcmf_net_attach() the hard_header_len is set to sum of ETH_HLEN
and the headroom needed by the bus interface. Better use increment
instead as hard_header_len is already initialized upon alloc_netdev().

Reviewed-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/dhd_linux.c