hostapd: fix a crash corner case
authorFelix Fietkau <nbd@nbd.name>
Wed, 10 Apr 2024 11:46:40 +0000 (13:46 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Jul 2024 19:13:26 +0000 (21:13 +0200)
commitd0c7b19db8993c23fc0bd989bef982fc000ea2f2
treed26eef40c0e4dafc2505dfcfe374b949453f02ec
parentdee4309bdfba8b95c6399bd2f4c10a66350e679c
hostapd: fix a crash corner case

On some setup failures, iface->bss can be NULL

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 1ee5b7e506f937e16737472eed02bc5409716304)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/hostapd/src/src/ap/ucode.c