mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
wiphy: Use network_get_netdev
This commit is contained in:
parent
54574dc153
commit
2ccbf65519
@ -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)
|
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);
|
const char *ssid = network_get_ssid(network);
|
||||||
uint32_t auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM;
|
uint32_t auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM;
|
||||||
struct l_genl_msg *msg;
|
struct l_genl_msg *msg;
|
||||||
|
Loading…
Reference in New Issue
Block a user