Changeset 27828 for branches/backfire


Ignore:
Timestamp:
2011-07-29T14:26:16+02:00 (5 years ago)
Author:
nbd
Message:

ath9k: fix switching channel bandwidth from 5/10 back to 20mhz (backport of r27827)

Location:
branches/backfire/package/mac80211/patches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/mac80211/patches/540-ath9k_channelbw_debugfs.patch

    r27431 r27828  
    3131  
    3232        if (sc->sc_flags & SC_OP_INVALID) 
    33 @@ -268,6 +269,21 @@ static int ath_set_channel(struct ath_so 
     33@@ -268,6 +269,24 @@ static int ath_set_channel(struct ath_so 
    3434        if (!stopped || !(sc->sc_flags & SC_OP_OFFCHANNEL)) 
    3535                fastcc = false; 
     
    4545+               hchan->channelFlags |= CHANNEL_HALF; 
    4646+               break; 
     47+       default: 
     48+               hchan->channelFlags &= ~(CHANNEL_HALF | CHANNEL_QUARTER); 
     49+               break; 
    4750+       } 
    4851+ 
  • branches/backfire/package/mac80211/patches/595-ath9k_cur_txpower.patch

    r27789 r27828  
    11--- a/drivers/net/wireless/ath/ath9k/main.c 
    22+++ b/drivers/net/wireless/ath/ath9k/main.c 
    3 @@ -1724,6 +1724,8 @@ static int ath9k_config(struct ieee80211 
     3@@ -1727,6 +1727,8 @@ static int ath9k_config(struct ieee80211 
    44                        return -EINVAL; 
    55                } 
     
    1010                 * The most recent snapshot of channel->noisefloor for the old 
    1111                 * channel is only available after the hardware reset. Copy it to 
    12 @@ -1741,6 +1743,7 @@ static int ath9k_config(struct ieee80211 
     12@@ -1744,6 +1746,7 @@ static int ath9k_config(struct ieee80211 
    1313                ath9k_cmn_update_txpow(ah, sc->curtxpow, 
    1414                                       sc->config.txpowlimit, &sc->curtxpow); 
Note: See TracChangeset for help on using the changeset viewer.