source: branches/backfire/package/hostapd/patches/450-reload_settings.patch @ 23733

Last change on this file since 23733 was 23733, checked in by nbd, 6 years ago

merge mac80211, iw, hostapd from trunk to backfire

File size: 399 bytes
  • src/ap/hostapd.c

    a b int hostapd_reload_config(struct hostapd 
    112112        oldconf = hapd->iconf; 
    113113        iface->conf = newconf; 
    114114 
     115        iface->freq = hostapd_hw_get_freq(hapd, hapd->iconf->channel); 
     116        if (iface->current_mode) 
     117                hostapd_prepare_rates(hapd, iface->current_mode); 
     118 
    115119        for (j = 0; j < iface->num_bss; j++) { 
    116120                hapd = iface->bss[j]; 
    117121                hapd->iconf = newconf; 
Note: See TracBrowser for help on using the repository browser.