On Fri, 2009-08-14 at 12:17 +0800, Zhu Yi wrote: > Johannes, I think we need a way in cfg80211 to tell connect vs. > auth/assoc. The current capability method (nl80211_send_wiphy) cannot do > this. For example, > > if (dev->ops->connect || dev->ops->auth) > NLA_PUT_U32(msg, i, NL80211_CMD_CONNECT); > > We need to either make NL80211_CMD_CONNECT only depends on ops->connect > or make NL80211_CMD_AUTH depends on ops->auth. Johannes, which one do > you prefer? The latter is already there as far as I can see? CMD(auth, AUTHENTICATE); CMD(assoc, ASSOCIATE); CMD(deauth, DEAUTHENTICATE); CMD(disassoc, DISASSOCIATE); so you should be able to check for these. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part