linux-stable-rt/net/wireless
Zhu Yi 1e056665e8 cfg80211: avoid setting default_key if add_key fails
In cfg80211_upload_connect_keys(), we call add_key, set_default_key
and set_default_mgmt_key (if applicable) one by one. If one of these
operations fails, we should stop calling the following functions.
Because if the key is not added successfully, we should not set it as
default key anyway.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-24 15:05:29 -04:00
..
Kconfig
Makefile
core.c
core.h cfg80211: rework key operation 2009-07-24 15:05:09 -04:00
debugfs.c
debugfs.h
ibss.c
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
mlme.c
nl80211.c
nl80211.h
radiotap.c
reg.c
reg.h
scan.c
sme.c
sysfs.c
sysfs.h
util.c
wext-compat.c
wext-sme.c
wext.c