mwifiex: skip registering mgmt frame that has already registered
authorStone Piao <piaoyun@marvell.com>
Tue, 23 Jul 2013 02:17:44 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:06 +0000 (11:02 -0400)
commit4481b2dba0930015d7c15acd0b69a3a89cae3591
treed3fecd91546d0037e1b24c041ecf4e38baf269bf
parenteaf49dbc4b7ef7e9fe420713730e403c9ba0bef1
mwifiex: skip registering mgmt frame that has already registered

Before sending command to firmware, we need to check the frame type.
We skip registering the mgmt frame that has already been registered.

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