3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

netdev: Handle P2P-client iftype in netdev_setting_keys_failed

This commit is contained in:
Andrew Zaborowski 2020-04-30 15:48:45 +02:00 committed by Denis Kenzior
parent 7711b06b6b
commit 57b02108af

View File

@ -1054,6 +1054,7 @@ static void netdev_setting_keys_failed(struct netdev_handshake_state *nhs,
switch (netdev->type) { switch (netdev->type) {
case NL80211_IFTYPE_STATION: case NL80211_IFTYPE_STATION:
case NL80211_IFTYPE_P2P_CLIENT:
msg = netdev_build_cmd_disconnect(netdev, msg = netdev_build_cmd_disconnect(netdev,
MMPDU_REASON_CODE_UNSPECIFIED); MMPDU_REASON_CODE_UNSPECIFIED);
netdev->disconnect_cmd_id = l_genl_family_send(nl80211, msg, netdev->disconnect_cmd_id = l_genl_family_send(nl80211, msg,