• Johannes Berg's avatar
    cfg80211: report userspace SME connected event properly · ea416a79
    Johannes Berg authored
    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: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    ea416a79
mlme.c 16.9 KB