drivers/wireless/ieee80211/bcm43xxx/: Correct parameters passed to wd_start() in all calls.
This commit is contained in:
parent
80d4072bf4
commit
5875f07a21
@ -1118,7 +1118,7 @@ int bcmf_wl_start_scan(FAR struct bcmf_dev_s *priv, struct iwreq *iwr)
|
|||||||
/* Start scan_timeout timer */
|
/* Start scan_timeout timer */
|
||||||
|
|
||||||
(void)wd_start(priv->scan_timeout, BCMF_SCAN_TIMEOUT_TICK,
|
(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;
|
return OK;
|
||||||
|
|
||||||
|
@ -756,7 +756,7 @@ int bcmf_bus_sdio_initialize(FAR struct bcmf_dev_s *priv,
|
|||||||
/* Start the waitdog timer */
|
/* Start the waitdog timer */
|
||||||
|
|
||||||
(void)wd_start(sbus->waitdog, BCMF_WAITDOG_TIMEOUT_TICK,
|
(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 */
|
/* Spawn bcmf daemon thread */
|
||||||
|
|
||||||
@ -865,7 +865,7 @@ int bcmf_sdio_thread(int argc, char **argv)
|
|||||||
/* Restart the waitdog timer */
|
/* Restart the waitdog timer */
|
||||||
|
|
||||||
(void)wd_start(sbus->waitdog, BCMF_WAITDOG_TIMEOUT_TICK,
|
(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 */
|
/* Wake up device */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user