fix a rare wds related noderef issue
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 381-ibss_modes.patch
index 1ce295eea391da5eb3fe5869fd0a4d199393131a..f904ed9721b8c5b3262f153503cf30b3e52eebaa 100644 (file)
@@ -1,6 +1,6 @@
 --- a/ath/if_ath.c
 +++ b/ath/if_ath.c
-@@ -1260,7 +1260,10 @@
+@@ -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;
@@ -12,7 +12,7 @@
                break;
        case IEEE80211_M_AHDEMO:
        case IEEE80211_M_MONITOR:
-@@ -1455,7 +1458,7 @@
+@@ -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)