Ignore:
Timestamp:
2011-10-08T19:34:56+02:00 (5 years ago)
Author:
nbd
Message:

mac80211: set the country code early to allow crda to settle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/files/lib/wifi/mac80211.sh

    r28298 r28387  
    303303        local hostapd_ctrl="" 
    304304 
     305        [ -n "$country" ] && { 
     306                iw reg get | grep -q "^country $country:" || { 
     307                        iw reg set "$country" 
     308                        sleep 1 
     309                } 
     310        } 
     311 
    305312        config_get ath9k_chanbw "$device" ath9k_chanbw 
    306313        [ -n "$ath9k_chanbw" -a -d /sys/kernel/debug/ieee80211/$phy/ath9k ] && echo "$ath9k_chanbw" > /sys/kernel/debug/ieee80211/$phy/ath9k/chanbw 
Note: See TracChangeset for help on using the changeset viewer.