3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-26 17:52:49 +01:00

p2p,netdev: Fix event name typo in comments

Fix the spelling of NETDEV_RESULT_KEY_SETTING_FAILED in two comments.
This commit is contained in:
Andrew Zaborowski 2021-04-26 15:26:34 +02:00 committed by Denis Kenzior
parent 4a1dafb907
commit 0ad463742b
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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.