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)

File:
1 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+ 
Note: See TracChangeset for help on using the changeset viewer.