projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e11e52
)
wireless: handle link updates even if devices are present already
author
Felix Fietkau
<nbd@nbd.name>
Tue, 3 Sep 2024 09:57:07 +0000
(11:57 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 3 Sep 2024 10:02:07 +0000
(12:02 +0200)
Redundant updates are caught further down the chain
Signed-off-by: Felix Fietkau <nbd@nbd.name>
wireless.c
patch
|
blob
|
history
diff --git
a/wireless.c
b/wireless.c
index 3a03988506f9dee699ebbe221b050015fb561ac7..6cec78a1308d98fdb03d3a1eba310a7651c4faf3 100644
(file)
--- a/
wireless.c
+++ b/
wireless.c
@@
-1645,10
+1645,8
@@
void wireless_device_hotplug_event(const char *name, bool add)
return;
len = s - name;
- } else if (!device_find(name)) {
- len = strlen(name);
} else {
-
return
;
+
len = strlen(name)
;
}
vlist_for_each_element(&wireless_devices, wdev, node) {