mwifiex: fix IBSS data path issue.
authorchunfan chen <jeffc@marvell.com>
Thu, 7 Jan 2016 07:40:48 +0000 (23:40 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 Jan 2016 09:11:34 +0000 (11:11 +0200)
commitdc386ce76dedaeeaaf006fceb6ed8cf2e20ff026
tree69955776bc8eea17c5c88865476e1aeaa81ddeb9
parent2fd5c6ed0b4fbf3c2d9314a24c82862ce5254d42
mwifiex: fix IBSS data path issue.

The port_open flag is not applicable for IBSS mode. IBSS data
path was broken when port_open flag was introduced.
This patch fixes the problem by correcting the checks.

Fixes: 5c8946330abfa4c ("mwifiex: enable traffic only when port is open")
Signed-off-by: chunfan chen <jeffc@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_event.c
drivers/net/wireless/marvell/mwifiex/wmm.c