diff options
Diffstat (limited to 'drivers/uwb/beacon.c')
-rw-r--r-- | drivers/uwb/beacon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/uwb/beacon.c b/drivers/uwb/beacon.c index dcdd59bfcd09..7b763610ce75 100644 --- a/drivers/uwb/beacon.c +++ b/drivers/uwb/beacon.c | |||
@@ -117,6 +117,7 @@ int uwb_rc_beacon(struct uwb_rc *rc, int channel, unsigned bpst_offset) | |||
117 | int result; | 117 | int result; |
118 | struct device *dev = &rc->uwb_dev.dev; | 118 | struct device *dev = &rc->uwb_dev.dev; |
119 | 119 | ||
120 | dev_dbg(dev, "%s: channel = %d\n", __func__, channel); | ||
120 | if (channel < 0) | 121 | if (channel < 0) |
121 | channel = -1; | 122 | channel = -1; |
122 | if (channel == -1) | 123 | if (channel == -1) |
@@ -517,7 +518,7 @@ int uwbd_evt_handle_rc_bp_slot_change(struct uwb_event *evt) | |||
517 | 518 | ||
518 | mutex_lock(&rc->uwb_dev.mutex); | 519 | mutex_lock(&rc->uwb_dev.mutex); |
519 | if (uwb_rc_evt_bp_slot_change_no_slot(bpsc)) { | 520 | if (uwb_rc_evt_bp_slot_change_no_slot(bpsc)) { |
520 | dev_info(dev, "stopped beaconing: No free slots in BP\n"); | 521 | dev_err(dev, "stopped beaconing: No free slots in BP\n"); |
521 | rc->beaconing = -1; | 522 | rc->beaconing = -1; |
522 | } else | 523 | } else |
523 | rc->uwb_dev.beacon_slot = uwb_rc_evt_bp_slot_change_slot_num(bpsc); | 524 | rc->uwb_dev.beacon_slot = uwb_rc_evt_bp_slot_change_slot_num(bpsc); |