On Wed, Mar 17, 2010 at 09:22:43AM -0700, Johannes Berg wrote: > On Sat, 2010-03-13 at 21:53 +0200, Jouni Malinen wrote: > > static void ieee80211_send_deauth_disassoc(struct ieee80211_sub_if_data *sdata, > I'm wondering now why we even bother sending events to userspace when it > itself triggered the transition? You are not the only one who was trying to figure that out.. ;-) I did not come up with any particularly good reason when working on the patch, but decided to avoid breaking any old behavior in the first version. If we are fine with dropping those events for locally triggered transitions, these areas here could be optimized. -- Jouni Malinen PGP id EFC895FA -- 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