]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: add client mac address while configuring keys on GO.
authorMaithili Hinge <maithili@marvell.com>
Tue, 30 Sep 2014 10:59:38 +0000 (16:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2014 17:17:48 +0000 (13:17 -0400)
commitc5dda8131a294de486cf616947f4820b89bb8d4b
treeab626345e61197a7ce27171133c075ed5275eed6
parent69d247a4c0e0f2af720631013873909df4a1e3e9
mwifiex: add client mac address while configuring keys on GO.

When mwifiex device becomes GO, unicast traffic between client1 and GO stops
when client2 connects to GO. Reason behind this was PTK getting
overwritten by key_material command for client2 as it did not have client
mac address. So, client1 can no more decode GO's ping packets though it
responds to its broadcast packets.

This patch adds case to check for BSS_ROLE instead of bss_type to set
client mac address while configuring keys when device becomes GO.

Signed-off-by: Maithili Hinge <maithili@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_cmd.c