|
@@ -7597,7 +7597,7 @@ static void hdd_pld_request_bus_bandwidth(struct hdd_context *hdd_ctx,
|
|
|
}
|
|
|
|
|
|
#define HDD_BW_GET_DIFF(_x, _y) (unsigned long)((ULONG_MAX - (_y)) + (_x) + 1)
|
|
|
-static void hdd_bus_bw_work_handler(struct work_struct *work)
|
|
|
+static void __hdd_bus_bw_work_handler(struct work_struct *work)
|
|
|
{
|
|
|
struct hdd_context *hdd_ctx = container_of(work, struct hdd_context,
|
|
|
bus_bw_work);
|
|
@@ -7716,6 +7716,13 @@ restart_timer:
|
|
|
hdd_exit();
|
|
|
}
|
|
|
|
|
|
+static void hdd_bus_bw_work_handler(struct work_struct *work)
|
|
|
+{
|
|
|
+ cds_ssr_protect(__func__);
|
|
|
+ __hdd_bus_bw_work_handler(work);
|
|
|
+ cds_ssr_unprotect(__func__);
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* __hdd_bus_bw_cbk() - Bus bandwidth data structure callback.
|
|
|
* @arg: Argument of timer function
|