X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/11afdfa934dc20a1317d8414e779c11aaaf86e4e..d7b870eaa3e8ef4245023415766fd607abd3f44a:/package/madwifi/patches/411-autochannel_multi.patch diff --git a/package/madwifi/patches/411-autochannel_multi.patch b/package/madwifi/patches/411-autochannel_multi.patch index 1140a1e2a..1899920a6 100644 --- a/package/madwifi/patches/411-autochannel_multi.patch +++ b/package/madwifi/patches/411-autochannel_multi.patch @@ -183,7 +183,7 @@ ieee80211_stop(vap->iv_dev); --- a/net80211/ieee80211_input.c +++ b/net80211/ieee80211_input.c -@@ -2772,6 +2772,7 @@ static void +@@ -2774,6 +2774,7 @@ static void ieee80211_doth_switch_channel(struct ieee80211vap *vap) { struct ieee80211com *ic = vap->iv_ic; @@ -191,7 +191,7 @@ IEEE80211_DPRINTF(vap, IEEE80211_MSG_DOTH, "%s: Channel switch to %3d (%4d MHz) NOW!\n", -@@ -2794,6 +2795,9 @@ ieee80211_doth_switch_channel(struct iee +@@ -2796,6 +2797,9 @@ ieee80211_doth_switch_channel(struct iee ic->ic_curchan = ic->ic_bsschan = vap->iv_csa_chan; ic->ic_set_channel(ic); @@ -241,7 +241,7 @@ * the auto-select case; this should be redundant if the --- a/net80211/ieee80211_proto.c +++ b/net80211/ieee80211_proto.c -@@ -1225,6 +1225,7 @@ ieee80211_dturbo_switch(struct ieee80211 +@@ -1231,6 +1231,7 @@ ieee80211_dturbo_switch(struct ieee80211 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); #endif struct ieee80211_channel *chan; @@ -249,7 +249,7 @@ chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags); if (chan == NULL) { /* XXX should not happen */ -@@ -1243,6 +1244,9 @@ ieee80211_dturbo_switch(struct ieee80211 +@@ -1249,6 +1250,9 @@ ieee80211_dturbo_switch(struct ieee80211 ic->ic_bsschan = chan; ic->ic_curchan = chan; ic->ic_set_channel(ic);