Skip to content

Commit

Permalink
[nrf fromtree] net: mgmt: Print correct TWT teardown status message
Browse files Browse the repository at this point in the history
Print success message for TWT teardown successful case.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
(cherry picked from commit 4d854a1)
  • Loading branch information
ajayparida authored and cvinayak committed Jan 24, 2024
1 parent 0f41950 commit 8f02d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/net/l2/wifi/wifi_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,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",
Expand Down

0 comments on commit 8f02d6e

Please sign in to comment.