diff options
author | Eliad Peller <eliad@wizery.com> | 2012-03-04 10:55:49 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-03-05 15:45:24 +0200 |
commit | b32b2b0f8ea82cb51d70b88815c25e0f1c0cf7a5 (patch) | |
tree | ef92fc8168ebd85a51fea29a3c8a35f7239703a3 /drivers/net/wireless/wl12xx | |
parent | 9fd6f21ba295810e36299981411f62719364d9e9 (diff) | |
download | talos-obmc-linux-b32b2b0f8ea82cb51d70b88815c25e0f1c0cf7a5.tar.gz talos-obmc-linux-b32b2b0f8ea82cb51d70b88815c25e0f1c0cf7a5.zip |
wl12xx: increment session_counter for device role as well
The sesssion_counter has to be incremented each time
the dev is started (similar to sta role).
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/cmd.c b/drivers/net/wireless/wl12xx/cmd.c index ae1f3d7f34d2..1ef212f6440f 100644 --- a/drivers/net/wireless/wl12xx/cmd.c +++ b/drivers/net/wireless/wl12xx/cmd.c @@ -531,7 +531,7 @@ static int wl12xx_cmd_role_start_dev(struct wl1271 *wl, goto out_free; } cmd->device.hlid = wlvif->dev_hlid; - cmd->device.session = wlvif->session_counter; + cmd->device.session = wl12xx_get_new_session_id(wl, wlvif); wl1271_debug(DEBUG_CMD, "role start: roleid=%d, hlid=%d, session=%d", cmd->role_id, cmd->device.hlid, cmd->device.session); |