aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_cmd.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-02-22 01:38:40 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:03:04 -0500
commit04e36fc5f1ff4e349ea21de8d15e4e1844d04197 (patch)
tree8778ddf51094e3339392ea68233ce02c526ad418 /drivers/net/wireless/wl12xx/wl1271_cmd.c
parent5c9417f1656b0f415f4be5a7cd7195ecadd7dd1a (diff)
wl1271: Clean up TX security sequence number handling
Instead of managing the TX security sequence number as two variables, use one 64 bit variable. This greatly simplifies the handling of the number. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_cmd.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.c b/drivers/net/wireless/wl12xx/wl1271_cmd.c
index e029bf03809d..d59b3830a6a5 100644
--- a/drivers/net/wireless/wl12xx/wl1271_cmd.c
+++ b/drivers/net/wireless/wl12xx/wl1271_cmd.c
@@ -318,8 +318,7 @@ int wl1271_cmd_join(struct wl1271 *wl, u8 bss_type)
318 318
319 /* reset TX security counters */ 319 /* reset TX security counters */
320 wl->tx_security_last_seq = 0; 320 wl->tx_security_last_seq = 0;
321 wl->tx_security_seq_16 = 0; 321 wl->tx_security_seq = 0;
322 wl->tx_security_seq_32 = 0;
323 322
324 ret = wl1271_cmd_send(wl, CMD_START_JOIN, join, sizeof(*join), 0); 323 ret = wl1271_cmd_send(wl, CMD_START_JOIN, join, sizeof(*join), 0);
325 if (ret < 0) { 324 if (ret < 0) {