mwifiex: fix an issue with Appletalk devices
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 3 Dec 2013 07:17:51 +0000 (23:17 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Dec 2013 20:35:28 +0000 (15:35 -0500)
commitc613d16fa77fb7738a436ba23979ecf60ec82494
treed6fcfe4c45cb1217708c20713da244558fce8e93
parent1bf947a79177643f33b875586642b61cb175782a
mwifiex: fix an issue with Appletalk devices

SNAP/LLC header in the AARP packet is being stripped off while
preparing an EthernetII header.
Annex M, Table M.3 in 802.11 spec says that some header
(ex. AppleTalk AARP(2)) should pass through untouched.
This patch modifies the check to exclude/include EthernetII
header translation for special cases.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_rx.c
drivers/net/wireless/mwifiex/uap_txrx.c