Commit 318a64ce authored by Hante Meuleman's avatar Hante Meuleman Committed by John W. Linville
Browse files

brcmfmac: Fix bug mgmt_rx_register

Mask is OR-ed with value in case of deregister. Should
be AND-ed.
Reviewed-by: default avatarArend Van Spriel <>
Reviewed-by: default avatarPieter-Paul Giesberts <>
Signed-off-by: default avatarHante Meuleman <>
Signed-off-by: default avatarArend van Spriel <>
Signed-off-by: default avatarJohn W. Linville <>
parent 7a5c1f64
......@@ -3742,7 +3742,7 @@ brcmf_cfg80211_mgmt_frame_register(struct wiphy *wiphy,
if (reg)
vif->mgmt_rx_reg |= BIT(mgmt_type);
vif->mgmt_rx_reg |= ~BIT(mgmt_type);
vif->mgmt_rx_reg &= ~BIT(mgmt_type);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment