diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-08-07 00:15:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:12:47 -0400 |
commit | 87b5bee86d281383ac2e5cae20ec47afa8fa374a (patch) | |
tree | a444d09a355dadc2f148829bf384231f252c1691 /drivers/net/wireless/ath | |
parent | bcba8eae12fce23686b84a56d19f5fc78bf182ae (diff) |
ath9k: Remove unneeded assignment of protocol field
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | 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 6b07cedf5b78..f6a8b1c384ec 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) | |||
788 | DMA_FROM_DEVICE); | 788 | DMA_FROM_DEVICE); |
789 | 789 | ||
790 | skb_put(skb, ds->ds_rxstat.rs_datalen); | 790 | skb_put(skb, ds->ds_rxstat.rs_datalen); |
791 | skb->protocol = cpu_to_be16(ETH_P_CONTROL); | ||
792 | 791 | ||
793 | /* see if any padding is done by the hw and remove it */ | 792 | /* see if any padding is done by the hw and remove it */ |
794 | hdr = (struct ieee80211_hdr *)skb->data; | 793 | hdr = (struct ieee80211_hdr *)skb->data; |