mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
rmnet_ctl: enable IPC logging
Enable rmnet_ctl debugfs parameters and IPC logging. Change-Id: I2228e5d4ae86ad5ef2fb17205f14e837255d706c Acked-by: Weiyi Chen <weiyic@qti.qualcomm.com> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
parent
5a88e58652
commit
05ac1acb02
1 changed files with 4 additions and 0 deletions
|
|
@ -135,6 +135,8 @@ void *rmnet_ctl_register_client(struct rmnet_ctl_client_hooks *hook)
|
|||
|
||||
spin_unlock(&client_lock);
|
||||
|
||||
rmnet_ctl_set_dbgfs(true);
|
||||
|
||||
return client;
|
||||
}
|
||||
EXPORT_SYMBOL(rmnet_ctl_register_client);
|
||||
|
|
@ -157,6 +159,8 @@ int rmnet_ctl_unregister_client(void *handle)
|
|||
synchronize_rcu();
|
||||
kfree(client);
|
||||
|
||||
rmnet_ctl_set_dbgfs(false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(rmnet_ctl_unregister_client);
|
||||
|
|
|
|||
Loading…
Reference in a new issue