On Tue, May 3, 2011 at 2:18 PM, Fabrice Deyber
<fabricedey...@agilemesh.com> wrote:
> The mesh has been broken for a while now.
>
> This thread should help you to get started:
> http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg05697.html
>
> I also had to modify (revert changes made to the beacon timer config in
> beacon.c and hw.c)
> Hope this helps.

Sweet!  I got as far as a workaround:

diff --git a/drivers/net/wireless/ath/ath9k/beacon.c
b/drivers/net/wireless/ath/ath9k/beacon.c
index 22cd241..e480745 100644
--- a/drivers/net/wireless/ath/ath9k/beacon.c
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
@@ -690,7 +690,8 @@ static bool ath9k_allow_beacon_config(struct ath_softc *sc,
         * while on AP opmode
         */
        if ((sc->sc_ah->opmode == NL80211_IFTYPE_AP) &&
-           (vif->type != NL80211_IFTYPE_AP)) {
+           (vif->type != NL80211_IFTYPE_AP &&
+            vif->type != NL80211_IFTYPE_MESH_POINT)) {
                ath_dbg(common, ATH_DBG_CONFIG,
                        "STA vif's beacon not allowed on AP mode\n");
                return false;

but clearly the right fix should be to fix the opmode.

Thanks!

Javier
_______________________________________________
Devel mailing list
Devel@lists.open80211s.org
http://open80211s.com/mailman/listinfo/devel

Reply via email to