Patch "iwlwifi: fix 11ax disabled bit in the regulatory capability flags" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    iwlwifi: fix 11ax disabled bit in the regulatory capability flags

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     iwlwifi-fix-11ax-disabled-bit-in-the-regulatory-capa.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 891ab0ac2ce6dd27c9b5a4e36da11626192be3df
Author: Luca Coelho <luciano.coelho@xxxxxxxxx>
Date:   Fri Mar 26 12:57:17 2021 +0200

    iwlwifi: fix 11ax disabled bit in the regulatory capability flags
    
    [ 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@xxxxxxxxx>
    Fixes: e27c506a985c ("iwlwifi: regulatory: regulatory capabilities api change")
    Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx>
    Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/iwlwifi.20210326125611.6d28516b59cd.Id0248d5e4662695254f49ce37b0268834ed52918@changeid
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
index 6d19de3058d2..cbde21e772b1 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
@@ -285,7 +285,7 @@ enum iwl_reg_capa_flags_v2 {
 	REG_CAPA_V2_MCS_9_ALLOWED	= BIT(6),
 	REG_CAPA_V2_WEATHER_DISABLED	= BIT(7),
 	REG_CAPA_V2_40MHZ_ALLOWED	= BIT(8),
-	REG_CAPA_V2_11AX_DISABLED	= BIT(13),
+	REG_CAPA_V2_11AX_DISABLED	= BIT(10),
 };
 
 /*



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux