wlcore: avoid using NET_IP_ALIGN for RX alignment
authorEyal Shapira <eyal@wizery.com>
Mon, 11 Jun 2012 14:59:55 +0000 (17:59 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 13 Jun 2012 18:44:10 +0000 (21:44 +0300)
commit04414e2aa516c7af6aa316562e046c5aca025e33
tree619f71898c047535c7ac57afbf84cbfc620e5ab7
parent3e3947fffc2ebe8c52891b3fca195172875dc951
wlcore: avoid using NET_IP_ALIGN for RX alignment

NET_IP_ALIGN can be overriden on different architectures
and therefore cannot be used in the RX path to account
for the 2 bytes added for alignment (either by the FW
in the case of 18xx or by the host for 12xx).
Instead use an internal define.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/rx.c
drivers/net/wireless/ti/wlcore/rx.h