[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061218092613.GA27091@mail.intel.com>
Date: Mon, 18 Dec 2006 17:26:13 +0800
From: Zhu Yi <yi.zhu@...el.com>
To: netdev@...r.kernel.org, "John W. Linville" <linville@...driver.com>
Subject: [PATCH] ieee80211: WLAN_GET_SEQ_SEQ fix
Signed-off-by: Zhu Yi <yi.zhu@...el.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
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists