brcmfmac: remove condition for calling event handler
authorArend van Spriel <arend@broadcom.com>
Fri, 5 Apr 2013 08:57:46 +0000 (10:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Apr 2013 19:28:44 +0000 (15:28 -0400)
commit5857f9c6a88845a7ae5be02582b6a07dab6ef7b4
tree8314ba48abf62f15d85d1f25016bcabc94f434b9
parent8fdd1578b11d8788244f02b8d8134b69b5911763
brcmfmac: remove condition for calling event handler

In fweh module the event handler was only called if the
struct brcmf_if instance had a non-null netdev associated.
This restriction is no longer valid for P2P_DEVICE type
of interface. This patch removes that restriction.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/fweh.c