]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix RTM_DELLINK processing for bridge events
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 1 Sep 2014 13:14:07 +0000 (16:14 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 1 Sep 2014 13:14:07 +0000 (16:14 +0300)
commit728ff2f4697f94a6301e36eac187d4337ffcfe8d
tree72dca00a0c6c739abc05df03daa09aa4568b8637
parenta0fd2ae643a63198f30c509363679af6c2cbee74
nl80211: Fix RTM_DELLINK processing for bridge events

When a netdev is removed from a bridge, RTM_DELLINK message is received
with ifname (IFLA_IFNAME) pointing to the main netdev event though that
netdev is not deleted. This was causing issues with P2P GO interface
getting disabled when the netdev was removed from a bridge. Fix this by
filtering RTM_DELLINK events that are related to the bridge when
indicating interface status changes.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c