net: mgmt: Print correct TWT teardown status message
Print success message for TWT teardown successful case. Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
This commit is contained in:
parent
f59ab74ba8
commit
4d854a193e
|
@ -292,7 +292,7 @@ static void handle_wifi_twt_event(struct net_mgmt_event_callback *cb)
|
|||
|
||||
if (resp->operation == WIFI_TWT_TEARDOWN) {
|
||||
if (resp->teardown_status == WIFI_TWT_TEARDOWN_SUCCESS) {
|
||||
print(context.sh, SHELL_NORMAL, "TWT teardown received for flow ID %d\n",
|
||||
print(context.sh, SHELL_NORMAL, "TWT teardown succeeded for flow ID %d\n",
|
||||
resp->flow_id);
|
||||
} else {
|
||||
print(context.sh, SHELL_NORMAL, "TWT teardown failed for flow ID %d\n",
|
||||
|
|
Loading…
Reference in a new issue