qcacld-3.0: Fix misleading indent
hdd_parse_disable_chan_cmd() misleadingly indents code after a for loop without brackets in such a way that it is easy to assume the code is inside the for loop, but it is not. Not only does this cause build failure for some configurations, but is dangerously confusing for future readers. Remove the misleading indentation in hdd_parse_disable_chan_cmd(). Change-Id: I4af2bd4b05719354db730ef39a3b6ec18d6f842b CRs-Fixed: 2290196
This commit is contained in:
@@ -7154,12 +7154,10 @@ static int hdd_parse_disable_chan_cmd(struct hdd_adapter *adapter, uint8_t *ptr)
|
|||||||
hdd_ctx->original_channels->
|
hdd_ctx->original_channels->
|
||||||
channel_info[j].channel_num =
|
channel_info[j].channel_num =
|
||||||
parsed_channels[j];
|
parsed_channels[j];
|
||||||
/*
|
|
||||||
* Cache the channel list in regulatory also
|
/* Cache the channel list in regulatory also */
|
||||||
*/
|
ucfg_reg_cache_channel_state(hdd_ctx->hdd_pdev, parsed_channels,
|
||||||
ucfg_reg_cache_channel_state(hdd_ctx->hdd_pdev,
|
num_channels);
|
||||||
parsed_channels,
|
|
||||||
num_channels);
|
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < num_channels; i++) {
|
for (i = 0; i < num_channels; i++) {
|
||||||
for (j = 0; j < num_channels; j++)
|
for (j = 0; j < num_channels; j++)
|
||||||
|
Reference in New Issue
Block a user