Patch "mwifiex: correct aid value during tdls setup" has been added to the 4.8-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
mwifiex: correct aid value during tdls setup
to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mwifiex-correct-aid-value-during-tdls-setup.patch
and it can be found in the queue-4.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
b64db1b252e9974a43a51ba083fa7d03e4716167Mon Sep 17 00:00:00 2001
From: Xinming Hu <[email protected]>
Date: Tue, 9 Aug 2016 20:20:44 +0530
Subject: mwifiex: correct aid value during tdls setup
From: Xinming Hu <[email protected]>
commit b64db1b252e9974a43a51ba083fa7d03e4716167 upstream.
AID gets updated during TDLS setup, but modified value isn't reflected in "priv->assoc_rsp_buf". This causes TDLS setup failure. The problem is fixed here.
--- drivers/net/wireless/marvell/mwifiex/join.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/wireless/marvell/mwifiex/join.c +1 -2
@@ -669,9 +669,8 @@ int mwifiex_ret_802_11_associate(struct priv->assoc_rsp_size =min (le16_to_cpu (resp->size) -S_DS_GEN ,sizeof (priv->assoc_rsp_buf)); -memcpy (priv->assoc_rsp_buf, &resp->params, priv->assoc_rsp_size); - assoc_rsp->a_id =cpu_to_le16 (aid); +memcpy (priv->assoc_rsp_buf, &resp->params, priv->assoc_rsp_size);if (status_code) { priv->adapter->dbg.num_cmd_assoc_failure++;
Patches currently in stable-queue which might be from [email protected] are
queue-4.8/mwifiex-correct-aid-value-during-tdls-setup.patch