aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/uwb/beacon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/beacon.c b/drivers/uwb/beacon.c
index c7f3c972f07d..46b18eec5026 100644
--- a/drivers/uwb/beacon.c
+++ b/drivers/uwb/beacon.c
@@ -207,7 +207,7 @@ struct uwb_beca_e *__uwb_beca_find_bymac(const struct uwb_mac_addr *mac_addr)
207 struct uwb_beca_e *bce, *next; 207 struct uwb_beca_e *bce, *next;
208 list_for_each_entry_safe(bce, next, &uwb_beca.list, node) { 208 list_for_each_entry_safe(bce, next, &uwb_beca.list, node) {
209 if (!memcmp(bce->mac_addr, mac_addr->data, 209 if (!memcmp(bce->mac_addr, mac_addr->data,
210 sizeof(bce->mac_addr))) 210 sizeof(struct uwb_mac_addr)))
211 goto out; 211 goto out;
212 } 212 }
213 bce = NULL; 213 bce = NULL;