mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Ignore qdf debug fs create failure during init/deinit
Debug fs create failure should not fail wifi turn on. Add logic to allow wifi turn on even if kernel debug fs create API returns failure. Change-Id: I686362340d9ef0268ca7587ad30c726c33f1c427 CRs-Fixed: 2203330
This commit is contained in:
parent
830d585032
commit
0a7a3b15be
1 changed files with 3 additions and 0 deletions
|
|
@ -48,6 +48,9 @@ qdf_export_symbol(qdf_debugfs_init);
|
|||
|
||||
QDF_STATUS qdf_debugfs_exit(void)
|
||||
{
|
||||
if (!qdf_debugfs_root)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
debugfs_remove_recursive(qdf_debugfs_root);
|
||||
qdf_debugfs_root = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue