Pull request #1: Master

Merge in ~NXF80930/mwifiex_pushpendra from master to dev_WCT_test

* commit '91d2e896ac96af5120168d0485948adb8c086c16':
  mxm_wifiex: fix build error on L6.15 kernel next tree
  WCSWREL-700: Makefile: remove the SD8801 support
This commit is contained in:
Meet Patel 2025-05-26 10:54:24 +02:00
commit ca52bebcc4
2 changed files with 9 additions and 1 deletions

View file

@ -43,7 +43,7 @@ CONFIG_PCIE8997=y
CONFIG_SD8987=y
CONFIG_SD9097=n
CONFIG_SD9177=y
CONFIG_SD8801=y
CONFIG_SD8801=n
CONFIG_USB8801=n
CONFIG_USB9097=n
CONFIG_PCIE9097=n

View file

@ -569,9 +569,17 @@ static inline void woal_mod_timer(pmoal_drv_timer timer,
static inline void woal_cancel_timer(moal_drv_timer *timer)
{
if (timer->timer_is_periodic || in_atomic() || irqs_disabled())
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
timer_delete(&timer->tl);
#else
del_timer(&timer->tl);
#endif
else
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
timer_delete_sync(&timer->tl);
#else
del_timer_sync(&timer->tl);
#endif
timer->timer_is_canceled = MTRUE;
timer->time_period = 0;
}