3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-06 11:28:38 +02:00

wiphy: Notify netdev when a new wiphy has been added

This commit is contained in:
Denis Kenzior 2016-07-01 14:42:00 -05:00
parent 005213a3d4
commit 0cffac45d4

View File

@ -37,6 +37,7 @@
#include "src/ie.h"
#include "src/crypto.h"
#include "src/scan.h"
#include "src/netdev.h"
#include "src/wiphy.h"
static struct l_genl_family *nl80211 = NULL;
@ -375,6 +376,8 @@ static void wiphy_new_wiphy_event(struct l_genl_msg *msg)
wiphy_parse_attributes(wiphy, &attr);
wiphy_print_basic_info(wiphy);
netdev_new_wiphy_hint(wiphy->id);
}
static void wiphy_del_wiphy_event(struct l_genl_msg *msg)