diff options
author | Eliad Peller <eliad@wizery.com> | 2011-10-10 12:13:02 +0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-10-11 16:09:57 +0400 |
commit | 53d40d0b863e22b697f8d85e1f95cb6f9d2d95b1 (patch) | |
tree | a0f0c4fbb1efa0c8e2cb7a391e83bceece928b2b /drivers/net/wireless/wl12xx/tx.c | |
parent | eee514e3d6cecc7abdf1b27734169004fefb0941 (diff) | |
download | linux-53d40d0b863e22b697f8d85e1f95cb6f9d2d95b1.tar.xz |
wl12xx: make WL1271_FLAG_AP_STARTED 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/tx.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/tx.c b/drivers/net/wireless/wl12xx/tx.c index 8965fd1384dd..a60d8feb69e4 100644 --- a/drivers/net/wireless/wl12xx/tx.c +++ b/drivers/net/wireless/wl12xx/tx.c @@ -168,7 +168,7 @@ u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, } else { struct ieee80211_hdr *hdr; - if (!test_bit(WL1271_FLAG_AP_STARTED, &wl->flags)) + if (!test_bit(WLVIF_FLAG_AP_STARTED, &wlvif->flags)) return wl->system_hlid; hdr = (struct ieee80211_hdr *)skb->data; |