mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
netdev: Add new iftype change event
This commit is contained in:
parent
0611632d7b
commit
23249c85c7
@ -4939,6 +4939,9 @@ static void netdev_set_interface_event(struct l_genl_msg *msg,
|
||||
frame_watch_wdev_remove(wdev_id);
|
||||
|
||||
netdev_setup_interface(netdev);
|
||||
|
||||
WATCHLIST_NOTIFY(&netdev_watches, netdev_watch_func_t,
|
||||
netdev, NETDEV_WATCH_EVENT_IFTYPE_CHANGE);
|
||||
}
|
||||
|
||||
static void netdev_config_notify(struct l_genl_msg *msg, void *user_data)
|
||||
|
@ -57,6 +57,7 @@ enum netdev_watch_event {
|
||||
NETDEV_WATCH_EVENT_DOWN,
|
||||
NETDEV_WATCH_EVENT_NAME_CHANGE,
|
||||
NETDEV_WATCH_EVENT_ADDRESS_CHANGE,
|
||||
NETDEV_WATCH_EVENT_IFTYPE_CHANGE,
|
||||
};
|
||||
|
||||
/* Mirror definitions from nl80211.h to make conversions simpler */
|
||||
|
Loading…
Reference in New Issue
Block a user