hostapd: add missing NULL pointer check in uc_hostapd_iface_stop
authorFelix Fietkau <nbd@nbd.name>
Wed, 20 Sep 2023 16:40:17 +0000 (18:40 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Sep 2023 16:40:33 +0000 (18:40 +0200)
commit4145ff4d8a29c1c7a1569bb06fa4d1fe9808c94f
tree16f010fa34761350a40a3cd6c3ee2c359393a793
parent7354d17ff4b7cc3b0654e6a2ce37f4ddbade2f3a
hostapd: add missing NULL pointer check in uc_hostapd_iface_stop

Avoid crashing if the interface has already been removed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ucode.c