2009-08-07 04:14:51

by Sujith

[permalink] [raw]
Subject: [PATCH 01/12] ath9k: Remove unneeded assignment of protocol field

Signed-off-by: Sujith <[email protected]>
---
drivers/net/wireless/ath/ath9k/recv.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
index 6b07ced..f6a8b1c 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -788,7 +788,6 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush)
DMA_FROM_DEVICE);

skb_put(skb, ds->ds_rxstat.rs_datalen);
- skb->protocol = cpu_to_be16(ETH_P_CONTROL);

/* see if any padding is done by the hw and remove it */
hdr = (struct ieee80211_hdr *)skb->data;
--
1.6.4