commit | d9ba089e109bc3e21dab7eed479bf4404a833c18 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Tue Mar 15 12:16:33 2016 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Mar 15 12:16:33 2016 -0700 |
tree | d4a5a5969156d79b548e0e3dc4e142904501c9b4 | |
parent | 6166df1149914c7b67e7685c42da117a529d7983 [diff] | |
parent | c35f30151b81ac9cc803f73861727a4c76895f93 [diff] |
Merge "[qca-nss-clients] Fix KW issues in DTLS Manager"
diff --git a/dtls/nss_connmgr_dtls_netdev.c b/dtls/nss_connmgr_dtls_netdev.c index b214878..ab91f7f 100644 --- a/dtls/nss_connmgr_dtls_netdev.c +++ b/dtls/nss_connmgr_dtls_netdev.c
@@ -202,7 +202,7 @@ */ nss_dtlsmgr_status_t nss_dtlsmgr_netdev_destroy(struct nss_dtlsmgr_session *ds) { - if (!ds && !ds->netdev) { + if (!ds || !ds->netdev) { return NSS_DTLSMGR_FAIL; }