]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211: post RTM_IFINFO notification after toggling IFF_DRV_RUNNING
authoravg <avg@FreeBSD.org>
Fri, 22 May 2020 11:25:45 +0000 (11:25 +0000)
committeravg <avg@FreeBSD.org>
Fri, 22 May 2020 11:25:45 +0000 (11:25 +0000)
commit79c2f845b91efcf7071a91c447bd5f3091431f99
tree71040c4ad3d54070943948a2e758f73c2baefc80
parent63e6bff79caf31d28f66d854752b2b956ad68724
net80211: post RTM_IFINFO notification after toggling IFF_DRV_RUNNING

This is useful when a wireless driver is stopped or started in response
to events like an RF Kill button press.  Applications like
wpa_supplicant depend on such events to have a correct view of interface
state.

Reviewed by: adrian, cy, melifaro
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24925
sys/net80211/ieee80211_freebsd.c
sys/net80211/ieee80211_proto.c
sys/net80211/ieee80211_proto.h