]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iwlwifi: fix 11ax disabled bit in the regulatory capability flags
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 26 Mar 2021 10:57:17 +0000 (12:57 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:40 +0000 (09:53 +0200)
commit75ebad9ab8571c22b12d4a003a57d6b081938172
tree540a79638fe4ea83c0b177860df78bfa4d52615e
parent180eec12806546925e69c7d31d915ab025724d88
iwlwifi: fix 11ax disabled bit in the regulatory capability flags

BugLink: https://bugs.launchpad.net/bugs/1926368
[ Upstream commit 07cc40fec9a85e669ea12e161a438d2cbd76f1ed ]

When version 2 of the regulatory capability flags API was implemented,
the flag to disable 11ax was defined as bit 13, but this was later
changed and the bit remained as bit 10, like in version 1.  This was
never changed in the driver, so we were checking for the wrong bit in
newer devices.  Fix it.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Fixes: e27c506a985c ("iwlwifi: regulatory: regulatory capabilities api change")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210326125611.6d28516b59cd.Id0248d5e4662695254f49ce37b0268834ed52918@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c