]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: r8188eu: Fix breakage introduced when 5G code was removed
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 7 Nov 2021 17:35:43 +0000 (11:35 -0600)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 7 Dec 2021 06:34:32 +0000 (07:34 +0100)
commit17caa579f56d97a169318fe68e25d6b52788efc9
tree8e5ba7184346b4cbcfa5e9d3c10dfbc90e650f26
parent97723825c9ab4082096179af75c6e3e7050841da
staging: r8188eu: Fix breakage introduced when 5G code was removed

BugLink: https://bugs.launchpad.net/bugs/1953370
commit d5f0b804368951b6b4a77d2f14b5bb6a04b0e011 upstream.

In commit 221abd4d478a ("staging: r8188eu: Remove no more necessary definitions
and code"), two entries were removed from RTW_ChannelPlanMap[], but not replaced
with zeros. The position within this table is important, thus the patch broke
systems operating in regulatory domains osted later than entry 0x13 in the table.
Unfortunately, the FCC entry comes before that point and most testers did not see
this problem.

Fixes: 221abd4d478a ("staging: r8188eu: Remove no more necessary definitions and code")
Cc: Stable <stable@vger.kernel.org> # v5.5+
Reported-and-tested-by: Zameer Manji <zmanji@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20211107173543.7486-1-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/staging/r8188eu/core/rtw_mlme_ext.c