summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/HDD/src/wlan_hdd_wmm.c30
1 files changed, 21 insertions, 9 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wmm.c b/CORE/HDD/src/wlan_hdd_wmm.c
index a9a595841589..5be199cc68a0 100644
--- a/CORE/HDD/src/wlan_hdd_wmm.c
+++ b/CORE/HDD/src/wlan_hdd_wmm.c
@@ -1232,15 +1232,14 @@ int hdd_wmmps_helper(hdd_adapter_t *pAdapter, tANI_U8 *ptr)
return 0;
}
-/**============================================================================
- @brief hdd_wmm_do_implicit_qos() - Function which will attempt to setup
- QoS for any AC requiring it
-
- @param work : [in] pointer to work structure
-
- @return : void
- ===========================================================================*/
-static void hdd_wmm_do_implicit_qos(struct work_struct *work)
+/**
+ * __hdd_wmm_do_implicit_qos() - Function which will attempt to setup
+ * QoS for any AC requiring it.
+ * @work: [in] pointer to work structure.
+ *
+ * Return: none
+ */
+static void __hdd_wmm_do_implicit_qos(struct work_struct *work)
{
hdd_wmm_qos_context_t* pQosContext =
container_of(work, hdd_wmm_qos_context_t, wmmAcSetupImplicitQos);
@@ -1469,6 +1468,19 @@ static void hdd_wmm_do_implicit_qos(struct work_struct *work)
}
+/**
+ * hdd_wmm_do_implicit_qos() - SSR wraper function for hdd_wmm_do_implicit_qos
+ * @work: pointer to work_struct
+ *
+ * Return: none
+ */
+static void hdd_wmm_do_implicit_qos(struct work_struct *work)
+{
+ vos_ssr_protect(__func__);
+ __hdd_wmm_do_implicit_qos(work);
+ vos_ssr_unprotect(__func__);
+}
+
/**============================================================================
@brief hdd_wmm_init() - Function which will initialize the WMM configuration
and status to an initial state. The configuration can later be overwritten