Skip to contentSkip to conversation

staging: rtl8192e: fixed pointer error by adding '*'

PATCH In review Mitali Borkar 2 participants 2 messages Apr 10, 2021 – Apr 11, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 staging: rtl8192e: fixed pointer error by adding '*'

Fixed pointer error by adding '*' to the function.

---

Changes from v3:- added reported by tag in proper manner. Changes from v2:- changed the patch nody to describe changes. Changes from v1:- added pointer to the function.

 drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192e/rtl819x_TSProc.c +1 -1
index 4457c1acfbf6..78b5b4eaec5f 100644
@@ -327,7 +327,7 @@ bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS,
 	}
 
 	*ppTS = SearchAdmitTRStream(ieee, Addr, UP, TxRxSelect);
-	if (ppTS)
+	if (*ppTS)
 		return true;
 
 	if (!bAddNewTs) {
Signature · 1 line
2.30.2
maintainer
#1 lore raw
Quoted 1 line · Mitali Borkar

Fixed pointer error by adding '*' to the function.

That really does not describe this at all. I'll go fix this up...

greg k-h