netdev: Print handshake failure reason code

This commit is contained in:
Denis Kenzior 2018-05-01 17:05:42 -05:00
parent 9e8850c423
commit 92cf0446a1
1 changed files with 2 additions and 1 deletions

View File

@ -1308,7 +1308,8 @@ static void netdev_handshake_failed(uint32_t ifindex,
if (!netdev)
return;
l_error("4-Way handshake failed for ifindex: %d", ifindex);
l_error("4-Way handshake failed for ifindex: %d, reason: %u",
ifindex, reason_code);
netdev->sm = NULL;