qcacmn: Add CONFIG_MULTI_IF_LOG to support multi if log

This is a propagation of qcacld-2.0 commit 98821c7dcf49d ("qcacld-2.0:
Add CONFIG_MULTI_IF_LOG to support multi if log"). Add CONFIG_MULTI_IF_LOG
to support multi if log by assigning the specific netlink protocol
when dual wlan cards are loaded.

Change-Id: I827fbd46893c47ed2d9b123bf753c06b2e115fbb
CRs-Fixed: 2525488
This commit is contained in:
Hangtian Zhu
2019-09-11 17:53:40 +08:00
committed by nshrivas
parent 1d97e0c080
commit 24dab77dbe
3 changed files with 11 additions and 10 deletions

View File

@@ -3453,7 +3453,7 @@ qdf_export_symbol(QDF_PRINT_INFO);
void qdf_logging_init(void)
{
wlan_logging_sock_init_svc();
nl_srv_init(NULL);
nl_srv_init(NULL, WLAN_NLINK_PROTO_FAMILY);
wlan_logging_set_flush_timer(qdf_log_flush_timer_period);
}
@@ -3479,7 +3479,7 @@ void qdf_logging_flush_logs(void)
#else
void qdf_logging_init(void)
{
nl_srv_init(NULL);
nl_srv_init(NULL, WLAN_NLINK_PROTO_FAMILY);
}
void qdf_logging_exit(void)