Skip to contentSkip to conversation

staging: rtl8723bs: use u8 instead of unsigned char in get_rate_set()

PATCH In review Azamat Rakhim 2 participants 2 messages Feb 9 – Feb 23 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: use u8 instead of unsigned char in get_rate_set()

Replace "unsigned char" with "u8" to address the driver's TODO.

---
 drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/core/rtw_wlan_util.c +2 -2
index 5ffefa50699e..3ad1c10e5073 100644
@@ -159,9 +159,9 @@ unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset)
 	return len;
 }
 
-void get_rate_set(struct adapter *padapter, unsigned char *pbssrate, int *bssrate_len)
+void get_rate_set(struct adapter *padapter, u8 *pbssrate, int *bssrate_len)
 {
-	unsigned char supportedrates[NumRates];
+	u8 supportedrates[NumRates];
 
 	memset(supportedrates, 0, NumRates);
 	*bssrate_len = ratetbl2rateset(padapter, supportedrates);
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 1 line · Azamat Rakhim

Replace "unsigned char" with "u8" to address the driver's TODO.

What exact TODO line is that? Why is it necessary to change these variables here, you do not explain that.

thanks,

greg k-h