Changeset 44907


Ignore:
Timestamp:
2015-03-20T13:13:11+01:00 (3 years ago)
Author:
kaloz
Message:

mac80211: fix 5ghz variable name

Signed-off-by: Imre Kaloz <kaloz@…>

Location:
trunk/package/kernel/mac80211
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/mac80211/Makefile

    r44906 r44907  
    1212 
    1313PKG_VERSION:=2015-03-09 
    14 PKG_RELEASE:=2 
     14PKG_RELEASE:=3 
    1515PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources 
    1616PKG_BACKPORT_VERSION:= 
  • trunk/package/kernel/mac80211/files/lib/wifi/mac80211.sh

    r44906 r44907  
    8787 
    8888                vht_cap=$(iw phy "$dev" info | grep -c 'VHT Capabilities') 
    89                 5ghz_cap=$(iw phy "$dev" info | grep -c "Band 2") 
    90                 [ "$vht_cap" -gt 0 -a "$5ghz_cap" -gt 0 ] && { 
     89                cap_5ghz=$(iw phy "$dev" info | grep -c "Band 2") 
     90                [ "$vht_cap" -gt 0 -a "$cap_5ghz" -gt 0 ] && { 
    9191                        mode_band="a"; 
    9292                        channel="36" 
Note: See TracChangeset for help on using the changeset viewer.