From c8203d57c54cdda5b49f23210478c4a3ee8d6bc2 Mon Sep 17 00:00:00 2001
From: Jonas Gorski <jogo@openwrt.org>
Date: Tue, 9 Oct 2012 23:11:12 +0000
Subject: [PATCH] mac80211: fix intel wifi autoload module names

The autoload directives were using wrong module names, preventing
them from being automatically inserted at boot time.

SVN-Revision: 33676
---
 package/mac80211/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 6b99d5942d..bdea68e74b 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -636,7 +636,7 @@ define KernelPackage/iwlagn
   DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
   TITLE:=Intel AGN Wireless support
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlwifi/iwlwifi.ko
-  AUTOLOAD:=$(call AutoLoad,60,iwlagn)
+  AUTOLOAD:=$(call AutoLoad,60,iwlwifi)
   MENU:=1
 endef
 
@@ -712,7 +712,7 @@ define KernelPackage/iwl-legacy
   DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
   TITLE:=Intel legacy Wireless support
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlegacy/iwlegacy.ko
-  AUTOLOAD:=$(call AutoLoad,60,iwl-legacy)
+  AUTOLOAD:=$(call AutoLoad,60,iwlegacy)
 endef
 
 define KernelPackage/iwl-legacy/description
-- 
2.30.2