]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ef0fe66e4e55c0bc569b0a8211049564e8c11ad
treed6fcfe4c45cb1217708c20713da244558fce8e93
parent9dd6d53af02ab0a9049f419f3411a654cf492fda
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