ath9k: Remove unneeded assignment of protocol field
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 7 Aug 2009 04:15:01 +0000 (09:45 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:12:47 +0000 (09:12 -0400)
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c

index 6b07cedf5b788857d40167067858f313db072102..f6a8b1c384ecb385ade2ed0717e986c394e190f3 100644 (file)
@@ -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;