summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl12xx.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-10 10:13:00 +0200
committerLuciano Coelho <coelho@ti.com>2011-10-11 15:09:57 +0300
commitba8447f64159927baf673d827e404605471d8f68 (patch)
tree5d204b2aba0686d680fd1146d7270a6ba1e94eb9 /drivers/net/wireless/wl12xx/wl12xx.h
parent9eb599e9c62dcfd4efece1936c385381b366b684 (diff)
downloadblackbird-op-linux-ba8447f64159927baf673d827e404605471d8f68.tar.gz
blackbird-op-linux-ba8447f64159927baf673d827e404605471d8f68.zip
wl12xx: make WL1271_FLAG_STA_ASSOCIATED flag per-vif
This flag should be set per-vif, rather than globally. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl12xx.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl12xx.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h
index 52d1cd0ddb6f..efb35a66fa5e 100644
--- a/drivers/net/wireless/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/wl12xx/wl12xx.h
@@ -313,7 +313,6 @@ struct wl1271_ap_key {
};
enum wl12xx_flags {
- WL1271_FLAG_STA_ASSOCIATED,
WL1271_FLAG_IBSS_JOINED,
WL1271_FLAG_GPIO_POWER,
WL1271_FLAG_TX_QUEUE_STOPPED,
@@ -338,6 +337,10 @@ enum wl12xx_flags {
WL1271_FLAG_CS_PROGRESS,
};
+enum wl12xx_vif_flags {
+ WLVIF_FLAG_STA_ASSOCIATED,
+};
+
struct wl1271_link {
/* AP-mode - TX queue per AC in link */
struct sk_buff_head tx_queue[NUM_TX_QUEUES];
@@ -553,6 +556,7 @@ struct wl1271_station {
struct wl12xx_vif {
struct wl1271 *wl;
struct list_head list;
+ unsigned long flags;
u8 bss_type;
u8 p2p; /* we are using p2p role */
u8 role_id;
OpenPOWER on IntegriCloud