From: Jes Sorensen Date: Wed, 21 May 2014 07:38:19 +0000 (+0200) Subject: staging: rtl8723au: wifi.h: Get rid of last ugly frame_control manipulation macros X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=33a46422a0a5b376441e3f98f69c1d05108dc7b1;p=linux-beck.git staging: rtl8723au: wifi.h: Get rid of last ugly frame_control manipulation macros Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/include/wifi.h b/drivers/staging/rtl8723au/include/wifi.h index 65cc4a9e1e2e..cccea6a50b3a 100644 --- a/drivers/staging/rtl8723au/include/wifi.h +++ b/drivers/staging/rtl8723au/include/wifi.h @@ -23,12 +23,6 @@ */ #define WiFiNavUpperUs 30000 /* 30 ms */ -#define SetToDs(pbuf) \ - (*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_TODS)) - -#define SetFrDs(pbuf) \ - (*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_FROMDS)) - #define _ASOCREQ_IE_OFFSET_ 4 /* excluding wlan_hdr */ #define _ASOCRSP_IE_OFFSET_ 6 #define _REASOCREQ_IE_OFFSET_ 10