Skip to content

Commit

Permalink
Remove some repeated log in Wifi hal
Browse files Browse the repository at this point in the history
Change log level to error,
close below repeated debug log:
10-15 11:22:21.370   522  1348 E wifi hal: Out of event poll
10-15 11:22:21.370   522  1348 D wifi hal: Data on event socket 0
10-15 11:22:21.370   522  1348 D wifi hal: Drv Event 70 received

Tests:
above log disapeared

Tracked-On: OAM-126416
Signed-off-by: Ye, Zhao <[email protected]>
Signed-off-by: Zhao Ye <[email protected]>
  • Loading branch information
zhaoye1 committed Oct 16, 2024
1 parent cc1ff1f commit c9fe7f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Debug level: trace=0, debug=1, warning=2, error=3
CONFIG_DEBUG=1
CONFIG_DEBUG=3
#CONFIG_LLS_ENABLED=y
2 changes: 1 addition & 1 deletion defconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Debug level: trace=0, debug=1, warning=2, error=3
CONFIG_DEBUG=1
CONFIG_DEBUG=3
#CONFIG_NO_SYSLOG is not set
CONFIG_DEBUG_STDOUT=y
#CONFIG_GLOBAL_CTRL_IFACE
Expand Down
2 changes: 1 addition & 1 deletion lib/driver_if.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ void driver_if_events(void *handle)
while (!drv->in_cleanup) {
pfd[1].fd = drv->nl_rtt ? nl_socket_get_fd(drv->nl_rtt) : -1;
int res = ppoll(pfd, NFDS, &ts, &sms);
hal_printf(MSG_ERROR, "Out of event poll");
hal_printf(MSG_DEBUG, "Out of event poll");

if (res < 0 && errno != EINTR) {
hal_printf(MSG_ERROR,
Expand Down

0 comments on commit c9fe7f4

Please sign in to comment.