mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
drivers/wireless/ieee80211/bcm43xxx/: Correct parameters passed to wd_start() in all calls.
This commit is contained in:
parent
80d4072bf4
commit
5875f07a21
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue