aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/join.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/join.c')
-rw-r--r--drivers/net/wireless/libertas/join.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index 0ebf2f8acbf1..ccb0df1967fb 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -20,6 +20,10 @@
20/* Supported rates for ad-hoc B mode */ 20/* Supported rates for ad-hoc B mode */
21static u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 }; 21static u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
22 22
23/* The firmware needs certain bits masked out of the beacon-derviced capability
24 * field when associating/joining to BSSs.
25 */
26#define CAPINFO_MASK (~(0xda00))
23 27
24/** 28/**
25 * @brief This function finds common rates between rate1 and card rates. 29 * @brief This function finds common rates between rate1 and card rates.