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
1 changed files with 1 additions and 0 deletions

View File

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