staging: rtl8723au: wifi.h: Get rid of last ugly frame_control manipulation macros
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:19 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:49 +0000 (16:27 +0900)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/wifi.h

index 65cc4a9e1e2e7eba41652a963677ffa9b6403387..cccea6a50b3a3d2cfefddd9cbd7c2e10798d147e 100644 (file)
  */
 #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