]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix nl80211 disconnected events
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 6 Aug 2009 18:41:33 +0000 (20:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:12:46 +0000 (09:12 -0400)
commit79d815050cf1096b6f0bef62f5b5637d9d2c9602
treee738ffebfecb0e461ca033528dd39a8b86839770
parent0d49b1d7ca30b1eacb254e879eb66fc942ab0f58
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 <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/mlme.c