From: Johannes Berg Date: Mon, 17 Aug 2009 10:22:14 +0000 (+0200) Subject: cfg80211: report userspace SME connected event properly X-Git-Tag: v2.6.32-rc1~703^2~335^2~62 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=ea416a793d2b611f22b42ba094fd2e5bd30fff43 cfg80211: report userspace SME connected event properly Instead of hacking the event reporting into the __cfg80211_connect_result() function which is also invoked by others, set up things correctly and then invoke that function, so that it can do more sanity checking. Also, it is currently not possible to get a ROAMED event from the userspace SME anyway since we send out a DISCONNECTED event when it disassociates and then a new CONNECTED event on the next association. Thanks to Zhu Yi for pointing out that the code is somewhat convoluted and doesn't warn when it should. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed