hello,

I was trying to find the number of consecutive collisions in wireless
network with the following logic:

int collision = 0;
while (rx_state_ == MAC_COLL)
{
collision++;
}
return collision;

the problem is I think the above code results in infinite loop;
Any help will be appreciated.

Nihad S.

Reply via email to