This update fixes a backward compatibility issue. use kmod-hostap instead
of kmod-net-hostap so we don't break dependencies such as hostap-utils and
others.

Signed-off-by: Alexandros C. Couloumbis <alex at ozo.com>

---
diff -Nrub a/package/kernel/modules/wireless.mk
b/package/kernel/modules/wireless.mk
--- a/package/kernel/modules/wireless.mk        2008-07-24
13:25:22.000000000 +0300
+++ b/package/kernel/modules/wireless.mk        2008-07-27
17:35:13.000000000 +0300
@@ -133,6 +133,56 @@
 $(eval $(call KernelPackage,net-airo))


+define KernelPackage/hostap
+  SUBMENU:=$(WIRELESS_MENU)
+  TITLE:=Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) driver
+  DEPENDS:[EMAIL PROTECTED]
+  KCONFIG:=CONFIG_HOSTAP
+ 
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,hostap)
+endef
+
+define KernelPackage/hostap/description
+ Shared driver code for IEEE 802.11b wireless cards based on
+ Intersil Prism2/2.5/3 chipset. This driver supports so called
+ Host AP mode that allows the card to act as an IEEE 802.11
+ access point.
+
+ See <http://hostap.epitest.fi/> for more information about the
+ Host AP driver configuration and tools. This site includes
+ information and tools (hostapd and wpa_supplicant) for WPA/WPA2
+ support.
+
+ This option includes the base Host AP driver code that is shared by
+ different hardware models. You will also need to enable support for
+ PLX/PCI/CS version of the driver to actually use the driver.
+
+ The driver can be compiled as a module and it will be called
+ "hostap.ko".
+endef
+
+$(eval $(call KernelPackage,hostap))
+
+define KernelPackage/hostap-pci
+  SUBMENU:=$(WIRELESS_MENU)
+  TITLE:=Host AP driver for Prism2.5 PCI adaptors
+  DEPENDS:[EMAIL PROTECTED], kmod-hostap
+  KCONFIG:=CONFIG_HOSTAP_PCI
+ 
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_pci.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,hostap_pci)
+endef
+
+define KernelPackage/hostap-pci/description
+ Host AP driver's version for Prism2.5 PCI adaptors.
+ "Host AP support for Prism2/2.5/3 IEEE 802.11b" is required for this
+ driver and its help text includes more information about the Host AP
+ driver.
+ The driver can be compiled as a module and will be named
+ "hostap_pci.ko".
+endef
+
+$(eval $(call KernelPackage,hostap-pci))
+
 define KernelPackage/net-hermes
   SUBMENU:=$(WIRELESS_MENU)
   TITLE:=Hermes 802.11b chipset support

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to