diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-08-14 22:08:45 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-14 23:09:03 -0400 |
commit | f241be74b803dcf9d70c9978292946370654320f (patch) | |
tree | 36dfbae39ee8d3becd87afba8e5c0dbf3da702dc /include | |
parent | bf79451ec5862510b402c112c039698e68d0c250 (diff) |
[PATCH] ieee80211: Fix frame control pver mask
IEEE 802.11 frame control has two bits reserved for protocol
version. IEEE80211_FCTL_VERS was not used anywhere, but I would assume
it was supposed to be a mask for the protocol field and as such, it
should be 0x0003, not 0x0002. This matches with WLAN_FC_PVER
definition in hostap.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ieee80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 1cf7ca0b6182..11524c9b659a 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -104,7 +104,7 @@ struct eapol { | |||
104 | #define MAX_FRAG_THRESHOLD 2346U | 104 | #define MAX_FRAG_THRESHOLD 2346U |
105 | 105 | ||
106 | /* Frame control field constants */ | 106 | /* Frame control field constants */ |
107 | #define IEEE80211_FCTL_VERS 0x0002 | 107 | #define IEEE80211_FCTL_VERS 0x0003 |
108 | #define IEEE80211_FCTL_FTYPE 0x000c | 108 | #define IEEE80211_FCTL_FTYPE 0x000c |
109 | #define IEEE80211_FCTL_STYPE 0x00f0 | 109 | #define IEEE80211_FCTL_STYPE 0x00f0 |
110 | #define IEEE80211_FCTL_TODS 0x0100 | 110 | #define IEEE80211_FCTL_TODS 0x0100 |