hostapd: Verify hostapd_setup_bss calls
Reject multiple calls to hostapd_setup_bss() for any specific interface. hostapd_cleanup() must have been called first before trying to restart a BSS. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
54246f8d44
commit
36501a22a4
2 changed files with 14 additions and 1 deletions
|
@ -102,6 +102,7 @@ struct hostapd_data {
|
|||
struct hostapd_config *iconf;
|
||||
struct hostapd_bss_config *conf;
|
||||
int interface_added; /* virtual interface added for this BSS */
|
||||
unsigned int started:1;
|
||||
|
||||
u8 own_addr[ETH_ALEN];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue