On Sat, 2010-01-30 at 09:35 +0100, Johannes Berg wrote: > > wdev->conn->params.ssid_len = connect->ssid_len; > > + if (connect->ssid_len) { > > + memcpy(wdev->ssid, connect->ssid, connect->ssid_len); > > + wdev->conn->params.ssid = wdev->ssid; > > + } > > + else > > + wdev->conn->params.ssid = NULL; > > I don't think I understand this. The wdev->conn->params are initialised > from "connect", and now you're copying the data back again? That's not > making sense to me. Hmm, so setting the ssid to NULL would make it impossible to connect to any network, no? I don't think I understand what you want to achieve. Are you, by any chance, trying to get it to connect to an AP without ever specifying an SSID? That can't really be supported (nor ever was by mac80211). johannes
Attachment:
signature.asc
Description: This is a digitally signed message part