summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/381-ibss_modes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-07 12:50:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-07 12:50:15 +0000
commitfafaa38ae55cab486f2b929a131fe433ce180224 (patch)
tree25d7e19e357623b44714e2052228a7e05eb3ade7 /package/madwifi/patches/381-ibss_modes.patch
parent6f752c725a5b592dff8c17f0fe4e905de22b8112 (diff)
downloadmtk-20170518-fafaa38ae55cab486f2b929a131fe433ce180224.zip
mtk-20170518-fafaa38ae55cab486f2b929a131fe433ce180224.tar.gz
mtk-20170518-fafaa38ae55cab486f2b929a131fe433ce180224.tar.bz2
move a few unmaintained packages from trunk to /packages
SVN-Revision: 33634
Diffstat (limited to 'package/madwifi/patches/381-ibss_modes.patch')
-rw-r--r--package/madwifi/patches/381-ibss_modes.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/package/madwifi/patches/381-ibss_modes.patch b/package/madwifi/patches/381-ibss_modes.patch
deleted file mode 100644
index 38969b0..0000000
--- a/package/madwifi/patches/381-ibss_modes.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/ath/if_ath.c
-+++ b/ath/if_ath.c
-@@ -1260,7 +1260,10 @@ ath_vap_create(struct ieee80211com *ic,
- case IEEE80211_M_IBSS:
- if ((sc->sc_nvaps != 0) && (ic->ic_opmode == IEEE80211_M_STA))
- return NULL;
-- ic_opmode = opmode;
-+ if (ic->ic_opmode == IEEE80211_M_HOSTAP)
-+ ic_opmode = ic->ic_opmode;
-+ else
-+ ic_opmode = opmode;
- break;
- case IEEE80211_M_AHDEMO:
- case IEEE80211_M_MONITOR:
-@@ -1455,7 +1458,7 @@ ath_vap_create(struct ieee80211com *ic,
- * frames. Other modes carry over directly to the HAL.
- */
- if (ic->ic_opmode == IEEE80211_M_AHDEMO)
-- sc->sc_opmode = HAL_M_IBSS;
-+ sc->sc_opmode = HAL_M_HOSTAP;
- else
- sc->sc_opmode = (HAL_OPMODE) ic->ic_opmode; /* NB: compatible */
-