diff --git a/src/netdev.h b/src/netdev.h index 0e09ae69..43ea3893 100644 --- a/src/netdev.h +++ b/src/netdev.h @@ -80,7 +80,7 @@ typedef void (*netdev_command_cb_t)(struct netdev *netdev, int result, * NETDEV_RESULT_AUTHENTICATION_FAILED - MMPDU_STATUS_CODE * NETDEV_RESULT_ASSOCIATION_FAILED - MMPDU_STATUS_CODE * NETDEV_RESULT_HANDSHAKE_FAILED - MMPDU_REASON_CODE - * NETDEV_RESULT_KEY_SETTINGS_FAILED - unused + * NETDEV_RESULT_KEY_SETTING_FAILED - unused * NETDEV_RESULT_ABORTED - unused. */ typedef void (*netdev_connect_cb_t)(struct netdev *netdev, diff --git a/src/p2p.c b/src/p2p.c index e3130e21..f0324d31 100644 --- a/src/p2p.c +++ b/src/p2p.c @@ -1321,7 +1321,7 @@ static void p2p_netdev_connect_cb(struct netdev *netdev, /* * In the AUTHENTICATION_FAILED and ASSOCIATION_FAILED * cases there's nothing to disconnect. In the - * HANDSHAKE_FAILED and KEY_SETTINGS failed cases + * HANDSHAKE_FAILED and KEY_SETTING failed cases * netdev disconnects from the GO automatically and we are * called already from within the disconnect callback, * so we can directly free the netdev.