summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen2010-03-26 11:53:24 +0100
committerJohn W. Linville2010-03-31 20:39:14 +0200
commit5da11dcde3d2a91688e02f032062fa26877eacb0 (patch)
tree194f71f76ba3047f1aa97ce4394079230d5f36b9 /drivers/net/wireless/wl12xx/wl1271.h
parentwl1271: Disable connection monitoring while not associated (diff)
downloadkernel-qcow2-linux-5da11dcde3d2a91688e02f032062fa26877eacb0.tar.gz
kernel-qcow2-linux-5da11dcde3d2a91688e02f032062fa26877eacb0.tar.xz
kernel-qcow2-linux-5da11dcde3d2a91688e02f032062fa26877eacb0.zip
wl1271: Fix ad-hoc mode handling
Fix the driver to better reflect the ad-hoc related configuration from the mac80211. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index c93968092fc1..37ad5cd0b82f 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -55,6 +55,7 @@ enum {
DEBUG_ACX = BIT(13),
DEBUG_SDIO = BIT(14),
DEBUG_FILTERS = BIT(15),
+ DEBUG_ADHOC = BIT(16),
DEBUG_ALL = ~0,
};
@@ -389,6 +390,7 @@ struct wl1271 {
u8 bssid[ETH_ALEN];
u8 mac_addr[ETH_ALEN];
u8 bss_type;
+ u8 set_bss_type;
u8 ssid[IW_ESSID_MAX_SIZE + 1];
u8 ssid_len;
int channel;