From: Johannes Berg Date: Thu, 6 Aug 2009 18:41:33 +0000 (+0200) Subject: cfg80211: fix nl80211 disconnected events X-Git-Tag: v2.6.32-rc1~703^2~367^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e458b8a22d33eef62765c9f89889efeb4041f073;p=pandora-kernel.git cfg80211: fix nl80211 disconnected events When reporting a disconnection to userspace, we try to report whether it was from the AP or by our own choice. However, we misreported a broadcast deauth or disassoc as being by own choice, which is wrong. Fix this by checking the sender address instead of the destination address. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed