wireless: fix applying wireless devices attributes on hotplug events
authorAndre Heider <a.heider@gmail.com>
Tue, 28 Sep 2021 11:29:27 +0000 (13:29 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 28 Sep 2021 12:10:18 +0000 (14:10 +0200)
commit4d0c2ad3fd268388b97af0582baa8a89c3639d8b
tree6de65f27e0635e5c4aff49418b1760720f2ff409
parent5a4ac30c7a15712d01110befec1acfe86c2cbed0
wireless: fix applying wireless devices attributes on hotplug events

Hotplug events pass their own 'ifname' copy, so we need to compare the
strings, not just the pointers.
Additionally, the check condition was accidentally inverted

Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
wireless.c