2009-02-25 23:36:42

by Alina Friedrichsen

[permalink] [raw]
Subject: [PATCH] mac80211: Call commit() after interface up

Call commit() after the interface is up again to initiate a new rejoin.

Signed-off-by: Alina Friedrichsen <[email protected]>
---
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 2acc416..d5faef0 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -331,6 +331,8 @@ static int ieee80211_open(struct net_device *dev)
=20
netif_tx_start_all_queues(dev);
=20
+ ieee80211_commit(sdata);
+
return 0;
err_del_interface:
local->ops->remove_interface(local_to_hw(local), &conf);

--=20
Psssst! Schon vom neuen GMX MultiMessenger geh=F6rt? Der kann`s mit all=
en: http://www.gmx.net/de/go/multimessenger01