mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
monitor: Fix mandatory calculation in ie_rate
The high-order bit should be checked, not the 3rd bit.
This commit is contained in:
parent
baa97b13e9
commit
eee6e7db29
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user