aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee80211')
-rw-r--r--net/ieee80211/ieee80211_rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c
index 21c0fadde03b..13b12a670194 100644
--- a/net/ieee80211/ieee80211_rx.c
+++ b/net/ieee80211/ieee80211_rx.c
@@ -45,7 +45,7 @@ static void ieee80211_monitor_rx(struct ieee80211_device *ieee,
45 skb_reset_mac_header(skb); 45 skb_reset_mac_header(skb);
46 skb_pull(skb, ieee80211_get_hdrlen(fc)); 46 skb_pull(skb, ieee80211_get_hdrlen(fc));
47 skb->pkt_type = PACKET_OTHERHOST; 47 skb->pkt_type = PACKET_OTHERHOST;
48 skb->protocol = __constant_htons(ETH_P_80211_RAW); 48 skb->protocol = htons(ETH_P_80211_RAW);
49 memset(skb->cb, 0, sizeof(skb->cb)); 49 memset(skb->cb, 0, sizeof(skb->cb));
50 netif_rx(skb); 50 netif_rx(skb);
51} 51}
@@ -800,7 +800,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
800 if (skb2 != NULL) { 800 if (skb2 != NULL) {
801 /* send to wireless media */ 801 /* send to wireless media */
802 skb2->dev = dev; 802 skb2->dev = dev;
803 skb2->protocol = __constant_htons(ETH_P_802_3); 803 skb2->protocol = htons(ETH_P_802_3);
804 skb_reset_mac_header(skb2); 804 skb_reset_mac_header(skb2);
805 skb_reset_network_header(skb2); 805 skb_reset_network_header(skb2);
806 /* skb2->network_header += ETH_HLEN; */ 806 /* skb2->network_header += ETH_HLEN; */