Changeset 5889


Ignore:
Timestamp:
2006-12-22T09:02:59+01:00 (10 years ago)
Author:
nbd
Message:

nuke old madwifi init script, add new /lib/wifi handler (usable for many configurations already), fix up a target name

Location:
trunk/package/madwifi
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/madwifi/Makefile

    r5809 r5889  
    4242 
    4343BUS:=PCI 
    44 ifneq ($(CONFIG_LINUX_2_6_AR531X),) 
     44ifneq ($(CONFIG_LINUX_2_6_ATHEROS),) 
    4545  BUS:=AHB 
    4646  HAL_TARGET:=ap51 
     
    141141 
    142142define KernelPackage/madwifi/install 
    143         $(INSTALL_DIR) $(1)/etc/init.d 
    144         $(INSTALL_BIN) ./files/madwifi.init $(1)/etc/init.d/madwifi 
     143        $(INSTALL_DIR) $(1)/lib/wifi 
     144        $(INSTALL_DATA) ./files/lib/wifi/madwifi.sh $(1)/lib/wifi 
    145145        $(INSTALL_DIR) $(1)/usr/sbin 
    146146        $(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats,wlanconfig} $(1)/usr/sbin/ 
  • trunk/package/madwifi/files/lib/wifi/madwifi.sh

    r5888 r5889  
    154154                } 
    155155                config_set "$vif" ifname "$ifname" 
     156 
     157                config_get "$device" mode 
     158                iwpriv "$ifname" mode "${mode:-11g}" 
    156159 
    157160                config_get wds "$vif" wds 
Note: See TracChangeset for help on using the changeset viewer.