On Tue, 2013-08-13 at 09:29 +0200, Johannes Berg wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > Neil Brown reports that with libertas, my recent cfg80211 > SME changes in commit ceca7b7121795ef81bd598a240d53a92566 > ("cfg80211: separate internal SME implementation") broke > libertas suspend because it we now asked it to disconnect > while already disconnected. > > The problematic change is in cfg80211_disconnect() as it > previously checked the SME state and now calls the driver > disconnect operation unconditionally. > > Fix this by checking if there's a current_bss indicating > a connection, and do nothing if not. Applied. johannes -- 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