aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/types.h
diff options
context:
space:
mode:
authorLuis Carlos Cobo <luisca@cozybit.com>2007-08-02 13:15:40 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:50:11 -0700
commitb37e5842f5ab66f8d0533ee62ffe35c26ae800a3 (patch)
tree5d8fb2c7957d83902d989ef9d4df0a60561ddf9a /drivers/net/wireless/libertas/types.h
parent[PATCH] libertas: push mesh beacon bit to userspace in scan results (diff)
downloadlinux-dev-b37e5842f5ab66f8d0533ee62ffe35c26ae800a3.tar.xz
linux-dev-b37e5842f5ab66f8d0533ee62ffe35c26ae800a3.zip
[PATCH] libertas: revert CAPINFO_MASK to its original value
CAPINFO_MASK changed on commits 981f187b and a091095b. Reverting to the original value. Also move CAPINFO_MASK into the sole user, join.c. CAPINFO_MASK should be in host CPU byte order; capability is converted to device byte order elsewhere. This fixes OLPC ticket #2161 Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/types.h')
-rw-r--r--drivers/net/wireless/libertas/types.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/types.h b/drivers/net/wireless/libertas/types.h
index 2df352db1557..a43a5f63c879 100644
--- a/drivers/net/wireless/libertas/types.h
+++ b/drivers/net/wireless/libertas/types.h
@@ -7,8 +7,6 @@
#include <linux/if_ether.h>
#include <asm/byteorder.h>
-#define CAPINFO_MASK (~(0x00da))
-
struct ieeetypes_cfparamset {
u8 elementid;
u8 len;