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)
commit672774f124dd07b2aaa1c8fdd56d98d786434fbb
treec8a3c1e4e9ed045e28715b63dbd2aa725ae7f75e
parentea0737d6e24b44b632e9094108bb987b0338ea74
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