2G channel indexes still need "place" to be initialized, since it is
returned from this function when channel is less than 14.
Fixes: 369956ae5720 ("rtlwifi: rtl8192de: Remove redundant variable initializations")
Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: Kalle Valo <redacted>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Larry Finger <redacted>
Cc: Colin Ian King <redacted>
Cc: Kaixu Xia <redacted>
Cc: Joe Perches <joe@perches.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <redacted>
---
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----Original Message-----
From: Kees Cook [mailto:keescook@chromium.org]
Sent: Thursday, August 26, 2021 2:31 AM
To: Pkshih
Cc: Kees Cook; Kalle Valo; David S. Miller; Jakub Kicinski; Larry Finger; Colin Ian King; Kaixu Xia;
Joe Perches; linux-wireless@vger.kernel.org; netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-hardening@vger.kernel.org
Subject: [PATCH] rtlwifi: rtl8192de: Restore channel index initialization
2G channel indexes still need "place" to be initialized, since it is
returned from this function when channel is less than 14.
Fixes: 369956ae5720 ("rtlwifi: rtl8192de: Remove redundant variable initializations")
Like the patch "rtlwifi: rtl8192de: Fix initialization of place in _rtl92c_phy_get_rightchnlplace()"
you sent before, please help to correct the removal of the commit 369956ae5720.
I think we can add following into this patch.
On Thu, Aug 26, 2021 at 12:45:53AM +0000, Pkshih wrote:
quoted hunk
quoted
-----Original Message-----
From: Kees Cook [mailto:keescook@chromium.org]
Sent: Thursday, August 26, 2021 2:31 AM
To: Pkshih
Cc: Kees Cook; Kalle Valo; David S. Miller; Jakub Kicinski; Larry Finger; Colin Ian King; Kaixu Xia;
Joe Perches; linux-wireless@vger.kernel.org; netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-hardening@vger.kernel.org
Subject: [PATCH] rtlwifi: rtl8192de: Restore channel index initialization
2G channel indexes still need "place" to be initialized, since it is
returned from this function when channel is less than 14.
Fixes: 369956ae5720 ("rtlwifi: rtl8192de: Remove redundant variable initializations")
Like the patch "rtlwifi: rtl8192de: Fix initialization of place in _rtl92c_phy_get_rightchnlplace()"
you sent before, please help to correct the removal of the commit 369956ae5720.
I think we can add following into this patch.
-----Original Message-----
From: Kees Cook [mailto:keescook@chromium.org]
Sent: Thursday, August 26, 2021 10:36 AM
To: Pkshih
Cc: Kalle Valo; David S. Miller; Jakub Kicinski; Larry Finger; Colin Ian King; Kaixu Xia; Joe Perches;
linux-wireless@vger.kernel.org; netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-hardening@vger.kernel.org
Subject: Re: [PATCH] rtlwifi: rtl8192de: Restore channel index initialization
On Thu, Aug 26, 2021 at 12:45:53AM +0000, Pkshih wrote:
quoted
quoted
-----Original Message-----
From: Kees Cook [mailto:keescook@chromium.org]
Sent: Thursday, August 26, 2021 2:31 AM
To: Pkshih
Cc: Kees Cook; Kalle Valo; David S. Miller; Jakub Kicinski; Larry Finger; Colin Ian King; Kaixu
Xia;
quoted
quoted
Joe Perches; linux-wireless@vger.kernel.org; netdev@vger.kernel.org;
linux-kernel@vger.kernel.org;
quoted
quoted
linux-hardening@vger.kernel.org
Subject: [PATCH] rtlwifi: rtl8192de: Restore channel index initialization
2G channel indexes still need "place" to be initialized, since it is
returned from this function when channel is less than 14.
Fixes: 369956ae5720 ("rtlwifi: rtl8192de: Remove redundant variable initializations")
Like the patch "rtlwifi: rtl8192de: Fix initialization of place in _rtl92c_phy_get_rightchnlplace()"
you sent before, please help to correct the removal of the commit 369956ae5720.
I think we can add following into this patch.