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

wiphy: Use network_get_netdev

This commit is contained in:
Denis Kenzior 2016-05-11 22:04:09 -05:00
parent 54574dc153
commit 2ccbf65519

View File

@ -309,7 +309,7 @@ static struct scan_bss *network_select_bss(struct wiphy *wiphy,
static int mlme_authenticate_cmd(struct network *network, struct scan_bss *bss)
{
struct netdev *netdev = network->netdev;
struct netdev *netdev = network_get_netdev(network);
const char *ssid = network_get_ssid(network);
uint32_t auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM;
struct l_genl_msg *msg;