aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/uwb/reset.c')
-rw-r--r--drivers/uwb/reset.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/uwb/reset.c b/drivers/uwb/reset.c
index e39b32099af3..ce8283cc8098 100644
--- a/drivers/uwb/reset.c
+++ b/drivers/uwb/reset.c
@@ -365,11 +365,7 @@ void uwb_rc_pre_reset(struct uwb_rc *rc)
365 rc->stop(rc); 365 rc->stop(rc);
366 uwbd_flush(rc); 366 uwbd_flush(rc);
367 367
368 mutex_lock(&rc->uwb_dev.mutex); 368 uwb_radio_reset_state(rc);
369 rc->beaconing = -1;
370 rc->scanning = -1;
371 mutex_unlock(&rc->uwb_dev.mutex);
372
373 uwb_rsv_remove_all(rc); 369 uwb_rsv_remove_all(rc);
374} 370}
375EXPORT_SYMBOL_GPL(uwb_rc_pre_reset); 371EXPORT_SYMBOL_GPL(uwb_rc_pre_reset);