These variables were originally used in hostapd to clear HT channel
information when exiting. However, that functionality was lost with
commit
f019981aee20f53d29ee1079973e609517d6d7e6 when moving to a common
code for setting the channel. Taken into account that no one seems to
have missed this functionality over the last four years, it seems safe
to drop this rather than try to fix the old hostapd behavior.
Signed-hostap: Jouni Malinen <j@w1.fi>
int default_if_indices[16];
int *if_indices;
int num_if_indices;
-
- int last_freq;
- int last_freq_ht;
#endif /* HOSTAPD */
/* From failed authentication command */
wpa_driver_nl80211_del_beacon(drv);
#ifdef HOSTAPD
- if (drv->last_freq_ht) {
- /* Clear HT flags from the driver */
- struct hostapd_freq_params freq;
- os_memset(&freq, 0, sizeof(freq));
- freq.freq = drv->last_freq;
- wpa_driver_nl80211_set_freq(bss, &freq);
- }
-
if (drv->eapol_sock >= 0) {
eloop_unregister_read_sock(drv->eapol_sock);
close(drv->eapol_sock);