Commit 3f76a4ea authored by Mahati Chamarthy's avatar Mahati Chamarthy Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192e: Fix __constant_htons to htons style warning



This fixes the following checkpatch.pl warning:
WARNING: __constant_htons should be htons

Signed-off-by: default avatarMahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 288903f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -52,7 +52,7 @@ static inline void rtllib_monitor_rx(struct rtllib_device *ieee,
	skb_reset_mac_header(skb);
	skb_reset_mac_header(skb);
	skb_pull(skb, hdr_length);
	skb_pull(skb, hdr_length);
	skb->pkt_type = PACKET_OTHERHOST;
	skb->pkt_type = PACKET_OTHERHOST;
	skb->protocol = __constant_htons(ETH_P_80211_RAW);
	skb->protocol = htons(ETH_P_80211_RAW);
	memset(skb->cb, 0, sizeof(skb->cb));
	memset(skb->cb, 0, sizeof(skb->cb));
	netif_rx(skb);
	netif_rx(skb);
}
}