3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-17 17:39:28 +01:00

wiphy: Make sure to set user_data

This is needed for TK/GTK installation
This commit is contained in:
Denis Kenzior 2015-03-25 23:27:45 -05:00
parent 0412360d77
commit 86ea449cd1

View File

@ -1038,6 +1038,7 @@ static void mlme_associate_cmd(struct netdev *netdev)
eapol_sm_set_supplicant_address(sm, netdev->addr);
eapol_sm_set_ap_rsn(sm, bss->rsne, bss->rsne[1] + 2);
eapol_sm_set_own_rsn(sm, rsne_buf, rsne_buf[1] + 2);
eapol_sm_set_user_data(sm, netdev);
eapol_start(netdev->index, sm);
msg_append_attr(msg, NL80211_ATTR_CIPHER_SUITES_PAIRWISE,