* [PATCH] ieee80211: WLAN_GET_SEQ_SEQ fix
@ 2006-12-18 9:26 Zhu Yi
[not found] ` <4586C6D1.5060607@lwfinger.net>
0 siblings, 1 reply; 2+ messages in thread
From: Zhu Yi @ 2006-12-18 9:26 UTC (permalink / raw)
To: netdev, John W. Linville
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h
index e6af381..e02d85f 100644
--- a/include/net/ieee80211.h
+++ b/include/net/ieee80211.h
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-19 3:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18 9:26 [PATCH] ieee80211: WLAN_GET_SEQ_SEQ fix Zhu Yi
[not found] ` <4586C6D1.5060607@lwfinger.net>
2006-12-19 3:16 ` Zhu Yi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).