[PATCH] ieee80211: Fix frame control pver mask
authorJouni Malinen <jkmaline@cc.hut.fi>
Mon, 15 Aug 2005 02:08:45 +0000 (19:08 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 15 Aug 2005 03:09:03 +0000 (23:09 -0400)
commitf241be74b803dcf9d70c9978292946370654320f
tree36dfbae39ee8d3becd87afba8e5c0dbf3da702dc
parentbf79451ec5862510b402c112c039698e68d0c250
[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>
include/net/ieee80211.h