diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-05-24 11:18:15 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-02 16:13:33 -0400 |
commit | db81956cc4a6780e9aeb1e85993096e67dcb0cd3 (patch) | |
tree | d36053164b01339922bfe72d4ca4e99f53e1d154 /mm/kmemleak-test.c | |
parent | 43163f0f8a11822607c36249c6f55f0613e0d73d (diff) | |
download | op-kernel-dev-db81956cc4a6780e9aeb1e85993096e67dcb0cd3.zip op-kernel-dev-db81956cc4a6780e9aeb1e85993096e67dcb0cd3.tar.gz |
wl1271: Prevent dropping of TX frames in joins
The wl1271 uses a session counter in CMD_JOIN and TX frame descriptors. This
counter is used to determine which frames to drop when the CMD_JOIN is
executed.
The driver executes CMD_JOIN multiple times upon association and sometimes
disassociation, and we don't want any frames to get lost.
Fix this by incrementing the session counter only when leaving idle (not every
CMD_JOIN as before.) Also, remove the TX flush flag from the CMD_JOIN options.
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 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions