drivers/wireless/ieee80211/bcm43xxx/: Correct parameters passed to wd_start() in all calls.

This commit is contained in:
chao.an 2019-12-13 08:08:13 -06:00 committed by Gregory Nutt
parent 80d4072bf4
commit 5875f07a21
2 changed files with 3 additions and 3 deletions

View File

@ -1118,7 +1118,7 @@ int bcmf_wl_start_scan(FAR struct bcmf_dev_s *priv, struct iwreq *iwr)
/* Start scan_timeout timer */
(void)wd_start(priv->scan_timeout, BCMF_SCAN_TIMEOUT_TICK,
bcmf_wl_scan_timeout, (wdparm_t)priv);
bcmf_wl_scan_timeout, 1, (wdparm_t)priv);
return OK;

View File

@ -756,7 +756,7 @@ int bcmf_bus_sdio_initialize(FAR struct bcmf_dev_s *priv,
/* Start the waitdog timer */
(void)wd_start(sbus->waitdog, BCMF_WAITDOG_TIMEOUT_TICK,
bcmf_sdio_waitdog_timeout, (wdparm_t)priv);
bcmf_sdio_waitdog_timeout, 1, (wdparm_t)priv);
/* Spawn bcmf daemon thread */
@ -865,7 +865,7 @@ int bcmf_sdio_thread(int argc, char **argv)
/* Restart the waitdog timer */
(void)wd_start(sbus->waitdog, BCMF_WAITDOG_TIMEOUT_TICK,
bcmf_sdio_waitdog_timeout, (wdparm_t)priv);
bcmf_sdio_waitdog_timeout, 1, (wdparm_t)priv);
/* Wake up device */