commit | 672774f124dd07b2aaa1c8fdd56d98d786434fbb | [log] [tgz] |
---|---|---|
author | Arend van Spriel <arend@broadcom.com> | Thu Jun 06 13:18:06 2013 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jun 12 15:06:24 2013 -0400 |
tree | c8a3c1e4e9ed045e28715b63dbd2aa725ae7f75e | |
parent | ea0737d6e24b44b632e9094108bb987b0338ea74 [diff] |
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>