commit | 4be3bd8ccc195297870b9ffca4ef18bcbc2f1822 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Thu Sep 24 09:00:57 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Sep 28 16:55:04 2009 -0400 |
tree | d8a1bed71b9b1dfb4f017494378c80a02eda6ea9 | |
parent | 33de4f9d787e01646f715ac10c2699fb98fd479e [diff] |
cfg80211: don't set privacy w/o key When wpa_supplicant is used to connect to open networks, it causes the wdev->wext.keys to point to key memory, but that key memory is all empty. Only use privacy when there is a default key to be used. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Tested-by: Luis R. Rodriguez <lrodriguez@atheros.com> Tested-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>