Changeset 19143


Ignore:
Timestamp:
2010-01-15T03:03:25+01:00 (8 years ago)
Author:
nbd
Message:

mac80211: add a missing chunk of the short slot patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/540-short_slot_handling.patch

    r19141 r19143  
    1010        if (use_protection != bss_conf->use_cts_prot) { 
    1111                bss_conf->use_cts_prot = use_protection; 
     12--- a/net/mac80211/cfg.c 
     13+++ b/net/mac80211/cfg.c 
     14@@ -1087,6 +1087,13 @@ static int ieee80211_change_bss(struct w 
     15                        params->use_short_preamble; 
     16                changed |= BSS_CHANGED_ERP_PREAMBLE; 
     17        } 
     18+ 
     19+       if (!sdata->vif.bss_conf.use_short_slot && 
     20+           sdata->local->hw.conf.channel->band == IEEE80211_BAND_5GHZ) { 
     21+               sdata->vif.bss_conf.use_short_slot = true; 
     22+               changed |= BSS_CHANGED_ERP_SLOT; 
     23+       } 
     24+ 
     25        if (params->use_short_slot_time >= 0) { 
     26                sdata->vif.bss_conf.use_short_slot = 
     27                        params->use_short_slot_time; 
Note: See TracChangeset for help on using the changeset viewer.