Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Alina Friedrichsen <x-alina@xxxxxxx>
---
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)
 
 	netif_tx_start_all_queues(dev);
 
+	ieee80211_commit(sdata);
+
 	return 0;
  err_del_interface:
 	local->ops->remove_interface(local_to_hw(local), &conf);

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux