brcm80211: fmac: discard packet received when net device not registered
authorFranky Lin <frankyl@broadcom.com>
Wed, 23 Nov 2011 01:21:46 +0000 (17:21 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:43:35 +0000 (14:43 -0500)
commit0c094c77ce9c338adc08d6d71b2d92a7761992b8
tree580b922314cd745f5df81b2846dba06d40b7b7ed
parenta52dd17d20be1fb6a111468f3ca8bfa0af7c0903
brcm80211: fmac: discard packet received when net device not registered

A new feature in the dongle firmware requires a handshake during
firmware intialization. The request is sent in event packets which the
host driver is not able to handle before any net device registered.
Discard those packets as the context for handling it is missing.
The initialization handler will be added as part of feature support
code in the future.

Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c