diff --git a/uccp420wlan/Makefile b/uccp420wlan/Makefile index f74bedf..ed8cfe3 100644 --- a/uccp420wlan/Makefile +++ b/uccp420wlan/Makefile @@ -29,7 +29,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/uccp420wlan SUBMENU:=Wireless Drivers TITLE:=Imagination wireless driver - DEPENDS:=@TARGET_pistachio +proddata +kmod-cfg80211 +kmod-mac80211 +@DRIVER_11N_SUPPORT + DEPENDS:=@TARGET_pistachio +kmod-cfg80211 +kmod-mac80211 +@DRIVER_11N_SUPPORT FILES:=$(PKG_BUILD_DIR)/uccp420wlan.$(LINUX_KMOD_SUFFIX) endef diff --git a/uccp420wlan/files/etc/init.d/uccp420wlan b/uccp420wlan/files/etc/init.d/uccp420wlan index 6525df9..ef60c4f 100755 --- a/uccp420wlan/files/etc/init.d/uccp420wlan +++ b/uccp420wlan/files/etc/init.d/uccp420wlan @@ -1,15 +1,11 @@ #!/bin/sh /etc/rc.common -. /lib/functions/mac.sh - START=10 STOP=10 start() { - generate_mac $WIFI_OTP_REG0 - local mac_param="mac_addr=\"$(echo $MAC | sed 's/://g')\"" modprobe mac80211 - insmod uccp420wlan $mac_param + insmod uccp420wlan } stop() {