Changeset 44906


Ignore:
Timestamp:
2015-03-20T12:47:16+01:00 (3 years ago)
Author:
kaloz
Message:

mac80211: when looking for VHT, check 5GHz support as well

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

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

Legend:

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

    r44808 r44906  
    11# 
    2 # Copyright (C) 2007-2014 OpenWrt.org 
     2# Copyright (C) 2007-2015 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1212 
    1313PKG_VERSION:=2015-03-09 
    14 PKG_RELEASE:=1 
     14PKG_RELEASE:=2 
    1515PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources 
    1616PKG_BACKPORT_VERSION:= 
  • trunk/package/kernel/mac80211/files/lib/wifi/mac80211.sh

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