]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: do not process mgmt rx on uninitialized interface
authorAvinash Patil <patila@marvell.com>
Wed, 11 Feb 2015 17:42:25 +0000 (23:12 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 27 Feb 2015 08:08:44 +0000 (10:08 +0200)
commit7e884d32c0df5f67f49f2db59c93b94bb73a07b0
tree6b1269ee6050ad8e090fed40c1c7369212f9898f
parent8a1e472100a5acc1c1a5632b8da45b8f97c18164
mwifiex: do not process mgmt rx on uninitialized interface

This patch fixes a crash which was happening because of RX of
management frames on uninitialzed interface. Now we drop management
frames for interfaces where cfg80211 has not registered any management
subtype reception or interface has no NL80211 iftype set.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/util.c