]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't connect to IBSS network with different privacy
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 12 May 2009 18:47:32 +0000 (20:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 May 2009 19:44:48 +0000 (15:44 -0400)
commitaca628c1893e5f8d4814c0f638c44e5932dda5b7
tree29b5a55ae747b0ea2e7446e2029e1d1ff268e38a
parent735bee91440dd0f8276fcf3d23954ec2c60f9bac
mac80211: don't connect to IBSS network with different privacy

Even when we find an IBSS with the SSID we're looking for, we
may not be able to connect to it because it has a key and we
don't, or vice versa. Avoid such situations by checking the
privacy capability bit.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c