From b7b4cc7ec32a51be920d1d224ba5914ec236c58f Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 17 Oct 2006 16:13:10 +0000 Subject: make kernel module packaging code reusable and use it in madwifi git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5189 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/104-apmode_by_default.patch | 12 ------------ package/madwifi/patches/104-autocreate_none.patch | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 package/madwifi/patches/104-apmode_by_default.patch create mode 100644 package/madwifi/patches/104-autocreate_none.patch (limited to 'package/madwifi/patches') diff --git a/package/madwifi/patches/104-apmode_by_default.patch b/package/madwifi/patches/104-apmode_by_default.patch deleted file mode 100644 index fc5cb978b..000000000 --- a/package/madwifi/patches/104-apmode_by_default.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN madwifi-0.9.2.old/ath/if_ath.c madwifi-0.9.2.dev/ath/if_ath.c ---- madwifi-0.9.2.old/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200 -+++ madwifi-0.9.2.dev/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200 -@@ -387,7 +387,7 @@ - struct ath_hal *ah; - HAL_STATUS status; - int error = 0, i; -- int autocreatemode = IEEE80211_M_STA; -+ int autocreatemode = IEEE80211_M_HOSTAP; - u_int8_t csz; - - sc->devid = devid; diff --git a/package/madwifi/patches/104-autocreate_none.patch b/package/madwifi/patches/104-autocreate_none.patch new file mode 100644 index 000000000..d520b133c --- /dev/null +++ b/package/madwifi/patches/104-autocreate_none.patch @@ -0,0 +1,12 @@ +diff -urN madwifi-0.9.2.old/ath/if_ath.c madwifi-0.9.2.dev/ath/if_ath.c +--- madwifi-0.9.2.old/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200 ++++ madwifi-0.9.2.dev/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200 +@@ -387,7 +387,7 @@ + struct ath_hal *ah; + HAL_STATUS status; + int error = 0, i; +- int autocreatemode = IEEE80211_M_STA; ++ int autocreatemode = -1; + u_int8_t csz; + + sc->devid = devid; -- cgit v1.2.3