[PATCH] clocksource: Add verification (watchdog) helper
[firefly-linux-kernel-4.4.55.git] / include / net / ieee80211.h
index e6af381e206db9e7ac6682b5b0c7fc9c1ae301db..e02d85f56e601d79c0ccb32ea4157ee890909cd3 100644 (file)
@@ -218,7 +218,7 @@ struct ieee80211_snap_hdr {
 #define WLAN_FC_GET_STYPE(fc) ((fc) & IEEE80211_FCTL_STYPE)
 
 #define WLAN_GET_SEQ_FRAG(seq) ((seq) & IEEE80211_SCTL_FRAG)
-#define WLAN_GET_SEQ_SEQ(seq)  ((seq) & IEEE80211_SCTL_SEQ)
+#define WLAN_GET_SEQ_SEQ(seq)  (((seq) & IEEE80211_SCTL_SEQ) >> 4)
 
 /* Authentication algorithms */
 #define WLAN_AUTH_OPEN 0