mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacmn: Fix driver initialization due to issues in pktlog init
Currently pktlog is available only for WIN. The pktlog APIs return negative error code for MCL implementation since they are not available, causing the regression. CRs-Fixed: 2074614 Change-Id: I830181233fb6fe0d6299c42f2ccd27b6d894857f
This commit is contained in:
parent
b3497c0daf
commit
c05a6a163c
1 changed files with 5 additions and 5 deletions
|
|
@ -316,14 +316,14 @@ static inline int dp_wdi_event_unsub(struct cdp_pdev *txrx_pdev_handle,
|
|||
void *event_cb_sub_handle,
|
||||
uint32_t event)
|
||||
{
|
||||
return -EPERM;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int dp_wdi_event_sub(struct cdp_pdev *txrx_pdev_handle,
|
||||
void *event_cb_sub_handle,
|
||||
uint32_t event)
|
||||
{
|
||||
return -EPERM;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline void dp_wdi_event_handler(enum WDI_EVENT event, void *soc,
|
||||
|
|
@ -334,18 +334,18 @@ static inline void dp_wdi_event_handler(enum WDI_EVENT event, void *soc,
|
|||
|
||||
static inline int dp_wdi_event_attach(struct dp_pdev *txrx_pdev)
|
||||
{
|
||||
return -EPERM;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int dp_wdi_event_detach(struct dp_pdev *txrx_pdev)
|
||||
{
|
||||
return -EPERM;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int dp_set_pktlog_wifi3(struct dp_pdev *pdev, uint32_t event,
|
||||
bool enable)
|
||||
{
|
||||
return -EPERM;
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_WIN */
|
||||
#endif /* #ifndef _DP_INTERNAL_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue