hostapd: do not store data in object prototype
authorFelix Fietkau <nbd@nbd.name>
Fri, 11 Aug 2023 22:36:13 +0000 (00:36 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 12 Aug 2023 06:42:12 +0000 (08:42 +0200)
commita0a5b976746b6bbe94c664ac17efc95ce944f8d1
tree361d7669f7db3680c9165fd1a882f3bde92ab5e6
parentf1c4751ba62ba561fef5d64010ac9cc7c0b86afb
hostapd: do not store data in object prototype

It cannot be properly cloned, since it is attached to the resource type.
Use a separate registry for data. Fixes object confusion issues

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