Changeset 18034


Ignore:
Timestamp:
2009-10-11T17:06:12+02:00 (8 years ago)
Author:
nbd
Message:

mac80211: fix a warning during interface bringup when using autochannel

File:
1 edited

Legend:

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

    r18025 r18034  
    148148                # We attempt to set teh channel for all interfaces, although 
    149149                # mac80211 may not support it or the driver might not yet 
    150                 [ -n "$fixed" ] && iw dev "$ifname" set channel "$channel" 
     150                [ -n "$fixed" -a -n "$channel" ] && iw dev "$ifname" set channel "$channel" 
    151151 
    152152                local key keystring 
Note: See TracChangeset for help on using the changeset viewer.