Skip to content

Commit

Permalink
Update cmm_wpa_adhoc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
lmq8267 authored Dec 7, 2024
1 parent 23305c3 commit 7f33308
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,11 @@ BOOLEAN Adhoc_PeerWpaMessageSanity(
/* send wireless event - for MIC different */
RTMPSendWirelessEvent(pAd, IW_MIC_DIFF_EVENT_FLAG, pEntry->Addr, pEntry->wdev->wdev_idx, 0);

if (MsgType < EAPOL_GROUP_MSG_1)
if (MsgType < EAPOL_GROUP_MSG_1) {
//MTWF_LOG(DBG_CAT_SEC, DBG_SUBCAT_ALL, DBG_LVL_ERROR, ("MIC Different in pairwise msg %d of 4-way handshake!\n", MsgType));
else
} else {
MTWF_LOG(DBG_CAT_SEC, DBG_SUBCAT_ALL, DBG_LVL_ERROR, ("MIC Different in group msg %d of 2-way handshake!\n", (MsgType - EAPOL_PAIR_MSG_4)));
}

hex_dump("Received MIC", rcvd_mic, LEN_KEY_DESC_MIC);
hex_dump("Desired MIC", mic, LEN_KEY_DESC_MIC);
Expand Down

0 comments on commit 7f33308

Please sign in to comment.