From: Arend van Spriel Date: Wed, 2 Jan 2013 14:22:46 +0000 (+0100) Subject: brcmfmac: cleanup netdev transmit callback X-Git-Tag: v3.9-rc1~139^2~242^2^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12b33dacb4bb3780512d3c6a4d064d9ed1172c0e;p=pandora-kernel.git brcmfmac: cleanup netdev transmit callback The header of the ethernet packet is processed conditionally, but the check is wrong as it checks skb length is at least ETH_ALEN. It should check it is at least sizeof struct ethhdr instead. Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed