mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 23:40:43 +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);
|
print_attr(level, "%s:", label);
|
||||||
|
|
||||||
while (i < size) {
|
while (i < size) {
|
||||||
bool mandatory = (rate[i] & 0x8);
|
bool mandatory = (rate[i] & 0x80);
|
||||||
|
|
||||||
if (rate[i] == 0xff) {
|
if (rate[i] == 0xff) {
|
||||||
print_attr(level + 1, "BSS membership HT_PHY");
|
print_attr(level + 1, "BSS membership HT_PHY");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user