Re-enable beaconing on interface disable+enable
This is a step towards enabling hostapd to restart AP mode functionality if the interface is disabled and re-enabled, e.g., with ifconfig down and up. This commit takes care of beaconining only which may be sufficient for open mode connection, but not for WPA2 cases. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
fc99fab7e5
commit
f33c8606f4
5 changed files with 20 additions and 1 deletions
|
@ -105,6 +105,8 @@ struct hostapd_data {
|
|||
struct hostapd_bss_config *conf;
|
||||
int interface_added; /* virtual interface added for this BSS */
|
||||
unsigned int started:1;
|
||||
unsigned int disabled:1;
|
||||
unsigned int reenable_beacon:1;
|
||||
|
||||
u8 own_addr[ETH_ALEN];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue