diff options
author | Juuso Oikarinen | 2010-05-24 10:18:17 +0200 |
---|---|---|
committer | John W. Linville | 2010-06-02 22:13:35 +0200 |
commit | 781608c41386b560b501404233fc43d8ef100c71 (patch) | |
tree | c6e4e60c7cb9298afdd5f1e92696dc49a877bcf1 /drivers/net/wireless/wl12xx/wl1271.h | |
parent | wl1271: Idle handling into own function (diff) | |
download | kernel-qcow2-linux-781608c41386b560b501404233fc43d8ef100c71.tar.gz kernel-qcow2-linux-781608c41386b560b501404233fc43d8ef100c71.tar.xz kernel-qcow2-linux-781608c41386b560b501404233fc43d8ef100c71.zip |
wl1271: Flush TX buffers to air before going to idle
The mac80211 changes to idle almost immediately after transmitting some
frames, such as deauth etc. When going to idle, the wl1271 is disconnected,
which causes TX frames already on buffers, but not yet transmitted, to be
deleted.
To make sure deauth frames reach the air, allow the TX buffers to flush
before proceeding to idle.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h index a170aed2d66d..4984f46626d2 100644 --- a/drivers/net/wireless/wl12xx/wl1271.h +++ b/drivers/net/wireless/wl12xx/wl1271.h @@ -396,6 +396,7 @@ struct wl1271 { /* Pending TX frames */ struct sk_buff *tx_frames[ACX_TX_DESCRIPTORS]; + int tx_frames_cnt; /* Security sequence number counters */ u8 tx_security_last_seq; |