Changeset 18923


Ignore:
Timestamp:
2009-12-24T12:05:04+01:00 (8 years ago)
Author:
nbd
Message:

mac80211: fix handling of vif mac addresses in /lib/wifi/mac80211.sh (patch from #6401)

File:
1 edited

Legend:

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

    r18896 r18923  
    150150                                offset="0" 
    151151                        fi 
    152                         vif_mac="$( printf %02x $(($mac_1 + $offset)) ):$mac_2" 
     152                        vif_mac="$( printf %02x $((0x$mac_1 + $offset)) ):$mac_2" 
    153153                } 
    154154                ifconfig "$ifname" hw ether "$vif_mac" 
Note: See TracChangeset for help on using the changeset viewer.