projects
/
GitHub
/
LineageOS
/
G12
/
android_hardware_amlogic_kernel-modules_rtl8822cs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d61b9
)
rtl88x2CS: Fix pointer-bool-conversion errors
author
Bruno Martins
<bgcngm@gmail.com>
Sun, 22 Oct 2023 16:38:33 +0000
(17:38 +0100)
committer
Bruno Martins
<bgcngm@gmail.com>
Sun, 22 Oct 2023 16:41:55 +0000
(17:41 +0100)
Change-Id: I4acf2ad58ec31438216715589af8c75d3ae18fbf
rtl88x2CS/core/rtw_ap.c
patch
|
blob
|
blame
|
history
diff --git
a/rtl88x2CS/core/rtw_ap.c
b/rtl88x2CS/core/rtw_ap.c
index 048d108332eb7983b37d79f545201328bd818d6e..d0c9ec8203454aed706dacaffeca5c57976913d5 100644
(file)
--- a/
rtl88x2CS/core/rtw_ap.c
+++ b/
rtl88x2CS/core/rtw_ap.c
@@
-4381,7
+4381,7
@@
static u8 rtw_ap_update_chbw_by_ifbmp(struct dvobj_priv *dvobj, u8 ifbmp
int i;
for (i = 0; i < dvobj->iface_nums; i++) {
- if (!(ifbmp & BIT(i)) || !dvobj->padapters)
+ if (!(ifbmp & BIT(i)) || !dvobj->padapters
[i]
)
continue;
iface = dvobj->padapters[i];
@@
-4401,7
+4401,7
@@
static u8 rtw_ap_update_chbw_by_ifbmp(struct dvobj_priv *dvobj, u8 ifbmp
}
for (i = 0; i < dvobj->iface_nums; i++) {
- if (!(ifbmp & BIT(i)) || !dvobj->padapters)
+ if (!(ifbmp & BIT(i)) || !dvobj->padapters
[i]
)
continue;
iface = dvobj->padapters[i];