staging: rtl8723au: Get rid of SetSeqNum()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:37:59 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:46 +0000 (16:27 +0900)
commitaeda82507d5016f04594e3d5b50af9551fa9c734
tree29d22fef2ff4243310f2aac1a436cdcc62096d65
parent39ef89153ce9690efc00d45448fda23ad416ce51
staging: rtl8723au: Get rid of SetSeqNum()

In every last use case, the header was just cleared with memset() so
there is no need to use the complex SetSeqNum() macro when
cpu_to_le16(IEEE80211_SN_TO_SEQ()) output will do just fine.

In addition, get rid of __le16 *fctrl usage when there is no need for
it.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c
drivers/staging/rtl8723au/include/wifi.h