Skip to content

Commit

Permalink
net: wifi_utils: Add missing break
Browse files Browse the repository at this point in the history
Add missing break statement.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information
finikorg authored and carlescufi committed Sep 1, 2023
1 parent 2e3694c commit db7dced
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsys/net/l2/wifi/wifi_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ static int wifi_utils_get_all_chans_in_range(uint16_t chan_start,
}

*chan_idx = idx;
break;
default:
NET_ERR("Unknown band value: %d", band_idx);
return -EINVAL;
Expand Down

0 comments on commit db7dced

Please sign in to comment.