From: Ujjal Roy Date: Tue, 5 Nov 2013 23:01:45 +0000 (-0800) Subject: mwifiex: fix wrong eth_hdr usage for bridged packets in AP mode X-Git-Tag: v3.13-rc1~33^2~27^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d93f1f309d38b65fce0b9f0de91ba6c96990c07;p=pandora-kernel.git mwifiex: fix wrong eth_hdr usage for bridged packets in AP mode The eth_hdr is never defined in this driver but it gets compiled without any warning/error because kernel has defined eth_hdr. Fix it by defining our own p_ethhdr and use it instead of eth_hdr. Cc: # 3.7+ Signed-off-by: Ujjal Roy Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed