summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomson Kang <thomson.kang@broadcom.corp-partner.google.com>2023-06-13 16:20:38 +0900
committerIsaac Chiou <isaacchiou@google.com>2023-07-31 08:21:55 +0000
commit53d3d50a4277c0ed355c46f1299c9b604af5fac5 (patch)
treeb864227b9fb1d80085629259395c6ec7b77e5adc
parentb1d1bde00564e0686ca752e626ed50ff2ee39fa4 (diff)
downloadbcm4389-53d3d50a4277c0ed355c46f1299c9b604af5fac5.tar.gz
bcmdhd: Added the debug log code for checking BY_IFACE_OP_FAILURE issue.
This issue happened a time out due to delayed the adding a virtual interface event. But when checking the log, the event occurred within the timeout interval. Therefore, added the log code for relating the value of timeout. Bug: 283148674 Test: Checked that the added log was not printed periodically. Change-Id: I6ca29ed8002da76dd6a15a9f54c50bd3a639bf23 Signed-off-by: Thomson Kang <thomson.kang@broadcom.corp-partner.google.com>
-rw-r--r--wl_cfg80211.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wl_cfg80211.c b/wl_cfg80211.c
index 51611c9..b9811d1 100644
--- a/wl_cfg80211.c
+++ b/wl_cfg80211.c
@@ -2270,6 +2270,11 @@ wl_cfg80211_p2p_if_add(struct bcm_cfg80211 *cfg,
return new_ndev->ieee80211_ptr;
}
+ else {
+ WL_ERR(("Virtual interface create fail. "
+ "Checking value timeout [%ld], p2p_status [%x], event_info valid [%x]\n",
+ timeout, wl_get_p2p_status(cfg, IF_ADDING), cfg->if_event_info.valid));
+ }
fail:
return NULL;