diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/base.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c index f4c852c6749b..58e1f7bb4df1 100644 --- a/drivers/net/wireless/rtlwifi/base.c +++ b/drivers/net/wireless/rtlwifi/base.c | |||
@@ -907,7 +907,7 @@ bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) | |||
907 | struct ieee80211_hdr *hdr = rtl_get_hdr(skb); | 907 | struct ieee80211_hdr *hdr = rtl_get_hdr(skb); |
908 | struct rtl_priv *rtlpriv = rtl_priv(hw); | 908 | struct rtl_priv *rtlpriv = rtl_priv(hw); |
909 | __le16 fc = hdr->frame_control; | 909 | __le16 fc = hdr->frame_control; |
910 | u8 *act = (u8 *) (((u8 *) skb->data + MAC80211_3ADDR_LEN)); | 910 | u8 *act = (u8 *)skb->data + MAC80211_3ADDR_LEN; |
911 | u8 category; | 911 | u8 category; |
912 | 912 | ||
913 | if (!ieee80211_is_action(fc)) | 913 | if (!ieee80211_is_action(fc)) |