3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 11:52:34 +01:00

netdev: Remove netdev_new_wiphy_hint

This commit is contained in:
Denis Kenzior 2016-07-19 15:49:22 -05:00
parent 83500c9516
commit 37ea99d09e
3 changed files with 0 additions and 15 deletions

View File

@ -1525,18 +1525,6 @@ static void netdev_link_notify(uint16_t type, const void *data, uint32_t len,
}
}
void netdev_new_wiphy_hint(uint32_t wiphy_id)
{
struct l_genl_msg *msg;
msg = l_genl_msg_new_sized(NL80211_CMD_GET_INTERFACE, 8);
l_genl_msg_append_attr(msg, NL80211_ATTR_WIPHY, 4, &wiphy_id);
if (!l_genl_family_dump(nl80211, msg, netdev_get_interface_callback,
NULL, NULL))
l_error("Getting wiphy %d interface info failed", wiphy_id);
}
static bool netdev_watch_match(const void *a, const void *b)
{
const struct netdev_watch *item = a;

View File

@ -83,7 +83,6 @@ int netdev_set_powered(struct netdev *netdev, bool powered,
netdev_destroy_func_t destroy);
struct netdev *netdev_find(int ifindex);
void netdev_new_wiphy_hint(uint32_t wiphy_id);
uint32_t netdev_watch_add(struct netdev *netdev, netdev_watch_func_t func,
void *user_data);

View File

@ -406,8 +406,6 @@ static void wiphy_new_wiphy_event(struct l_genl_msg *msg)
wiphy_print_basic_info(wiphy);
wiphy_register(wiphy);
netdev_new_wiphy_hint(wiphy->id);
}
static void wiphy_del_wiphy_event(struct l_genl_msg *msg)