monitor: Fix mandatory calculation in ie_rate

The high-order bit should be checked, not the 3rd bit.
This commit is contained in:
Denis Kenzior 2015-06-10 11:33:17 -05:00
parent baa97b13e9
commit eee6e7db29
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static void print_ie_rate(unsigned int level, const char *label,
print_attr(level, "%s:", label);
while (i < size) {
bool mandatory = (rate[i] & 0x8);
bool mandatory = (rate[i] & 0x80);
if (rate[i] == 0xff) {
print_attr(level + 1, "BSS membership HT_PHY");