
Currently, the QDF debugfs feature returns a no-support error code for the init call when the feature is compiled out. Instead, return success to avoid wlan load failure on some configurations and to make error checking by the caller more straight forward under all configurations. The deinit call also has the same problem, but none of the callers pay attention to the return status. Additionally, the deinit function returns success unconditionally when the feature is compiled in. Rather than changing the return status to success when the feature is compiled out, change the return type of the deinit function to void. Change-Id: Iac3a47505142e149f70c67c5ba6cf0b2428d9488 CRs-Fixed: 2336872
9.1 KiB
9.1 KiB