brcmfmac: Fix bug mgmt_rx_register
authorHante Meuleman <meuleman@broadcom.com>
Fri, 8 Feb 2013 14:53:45 +0000 (15:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Feb 2013 19:51:39 +0000 (14:51 -0500)
commit318a64cede8882964b6412aceebe657dab46b2d2
tree3d939fbd2286c412b0978e0829dcde35f2a05acb
parent7a5c1f64f64c8504c8117558a426b610ebc77aa0
brcmfmac: Fix bug mgmt_rx_register

Mask is OR-ed with value in case of deregister. Should
be AND-ed.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@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/wl_cfg80211.c