projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce4c08a
)
Do not return when ckmc_get_data() provides NULL value
36/318136/1
accepted/tizen/7.0/unified/20240925.162126
author
Jaehyun Kim
<jeik01.kim@samsung.com>
Wed, 25 Sep 2024 02:58:03 +0000
(11:58 +0900)
committer
Jaehyun Kim
<jeik01.kim@samsung.com>
Wed, 25 Sep 2024 02:58:03 +0000
(11:58 +0900)
When first connecting after downloading the image,
iv_buf is always provided as null because the alias is not created.
This is not an error case.
Change-Id: I8d3ebec5de05a62b49706c6d9a72b24e5e2600f5
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/wifi-key-encryption.c
patch
|
blob
|
history
diff --git
a/src/wifi-key-encryption.c
b/src/wifi-key-encryption.c
index 6268cb4dd46dbf42fa145e1cf2897a5242d8cbe2..2177985c17357f71d9a0d93ade88b6cab9016c16 100755
(executable)
--- a/
src/wifi-key-encryption.c
+++ b/
src/wifi-key-encryption.c
@@
-127,10
+127,8
@@
static void* __netconfig_set_param_list_aes_gcm(ckmc_param_list_h param)
err = ckmc_get_data(IV_ALIAS, NULL, &iv_buf);
- if (iv_buf == NULL)
{
+ if (iv_buf == NULL)
DBG("iv_buf is null");
- return NULL;
- }
if (err == CKMC_ERROR_DB_ALIAS_UNKNOWN) {
ckmc_policy_s policy;