mwifiex: fix command 0x2c timeout during p2p_find or p2p_connect
authorStone Piao <piaoyun@marvell.com>
Mon, 29 Jul 2013 23:32:39 +0000 (16:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Jul 2013 19:06:47 +0000 (15:06 -0400)
commit6621fe18cdce50df9c3954f878183321dfe3078c
treea8ac3b0789c961ade5bb5e5fe33a2364c230e5f4
parent237b2ac8ac89a6b0120decdd05c7bf4637deb98a
mwifiex: fix command 0x2c timeout during p2p_find or p2p_connect

We missed bss_mode check for P2P client.

Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_ioctl.c