wlan: Replace init work related functions with wrapper APIs.
Proprietary driver can not access INIT_WORK and
INIT_DELAYED_WORK kernel APIs.
To mitigate issue replace above init work related functions
with vos wrapper APIs.
CRs-Fixed: 847627
Change-Id: Ic3b9a0e3d2057b0e1e8e9b4d0fba2f3cdb1fef9a
diff --git a/CORE/HDD/src/bap_hdd_main.c b/CORE/HDD/src/bap_hdd_main.c
index 79bca9e..af48dab 100644
--- a/CORE/HDD/src/bap_hdd_main.c
+++ b/CORE/HDD/src/bap_hdd_main.c
@@ -4164,7 +4164,7 @@
// save away the pctx context...so it can be retrieved by the work procedure.
pHciContext->pctx = pctx;
pHciContext->magic = BT_AMP_HCI_CTX_MAGIC;
- INIT_WORK(&pHciContext->hciInterfaceProcessing,
+ vos_init_work(&pHciContext->hciInterfaceProcessing,
bslWriteFinish);
VOS_TRACE(VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH,