[PATCH 2/3] mesh: Add debug message when peer is too much
Bob Copeland
me
Fri Dec 19 07:00:10 PST 2014
On Fri, Dec 19, 2014 at 02:59:53PM +0900, Masashi Honma wrote:
> case PLINK_CONFIRM:
> - if (!plink_free_count(hapd) ||
> - sta->my_lid != llid ||
> - (sta->peer_lid && sta->peer_lid != plid)) {
> + if (plink_free_count(hapd) == 0) {
> + event = OPN_IGNR;
should be CNF_IGNR in this case?
> + wpa_printf(MSG_WARNING, "MPM: Peer link num over quota(%d)",
> + hapd->max_plinks);
> + } else if (sta->my_lid != llid ||
> + (sta->peer_lid && sta->peer_lid != plid)) {
> event = CNF_IGNR;
> } else {
> if (!sta->peer_lid)
> --
> 1.9.1
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
--
Bob Copeland %% http://bobcopeland.com/
More information about the Hostap
mailing list