mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
mac80211: fix processing HE capabilities (FS#3871)
Use the right argument to fix setting unsupported capabilities to 0
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 49ef4dbee5)
This commit is contained in:
parent
7b7b494d56
commit
cdb867b73a
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ mac80211_add_he_capabilities() {
|
|||
set -- $capab
|
||||
[ "$(($4))" -gt 0 ] || continue
|
||||
[ "$(((0x$2) & $3))" -gt 0 ] || {
|
||||
eval "$4=0"
|
||||
eval "$1=0"
|
||||
continue
|
||||
}
|
||||
append base_cfg "$1=1" "$N"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue