Register fw down legacy callback with QDF such that new UMAC components can call QDF API to check if fw is down or not. Change-Id: I8d68cb7625fd75aa90ba09adfe13955c5418b54f CRs-Fixed: 2202605
@@ -682,5 +682,5 @@ void qdf_get_random_bytes(void *buf, int nbytes)
*
* Return: none
*/
-void qdf_register_fw_down_callback(qdf_is_fw_down_callback *is_fw_down);
+void qdf_register_fw_down_callback(qdf_is_fw_down_callback is_fw_down);
#endif /*_QDF_UTIL_H*/
@@ -19,9 +19,9 @@
#include "qdf_module.h"
#include "qdf_util.h"
-static qdf_is_fw_down_callback *is_fw_down_cb;
+static qdf_is_fw_down_callback is_fw_down_cb;
-void qdf_register_fw_down_callback(qdf_is_fw_down_callback *is_fw_down)
+void qdf_register_fw_down_callback(qdf_is_fw_down_callback is_fw_down)
{
is_fw_down_cb = is_fw_down;
}