]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:20:35 +0000 (10:20 +0100)
commit1f0ef081a3ec8bc4cefef87f92d6382bef630618
tree88d8be47707910a3b4f3260c739dc6326fccc9ae
parentbad68f6c0c96b209be688acd1511fc590315093b
staging: r8188eu: Fix breakage introduced when 5G code was removed

In commit 08d1a9d7b11c ("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: 08d1a9d7b11c ("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>
drivers/staging/r8188eu/core/rtw_mlme_ext.c