aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorZhu Yi <[email protected]>2009-07-20 16:12:57 +0800
committerJohn W. Linville <[email protected]>2009-07-24 15:05:29 -0400
commit1e056665e878ce4f91dbfd594f4ebba49ea689c0 (patch)
tree596939e206e806cec40bd04f3d3d1c6dcc1822e1 /include/linux/debugobjects.h
parent971ad01169398170976951d3a9479a29d231c734 (diff)
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 <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions