qcacmn: Break from the loop when EIRP power is filled
In reg_search_afc_power_info_for_freq, break from the loop when EIRP power is filled. Change-Id: Id559f4a92fe7945370e6a334b4dc1e7c1d9d7adf CRs-Fixed: 3031979
This commit is contained in:

committed by
Madan Koyyalamudi

parent
800b5ae375
commit
9a9f5974af
@@ -2698,9 +2698,10 @@ reg_search_afc_power_info_for_freq(
|
|||||||
if (reg_chan_band_to_freq(pdev,
|
if (reg_chan_band_to_freq(pdev,
|
||||||
subchannels[k],
|
subchannels[k],
|
||||||
BIT(REG_BAND_6G)) ==
|
BIT(REG_BAND_6G)) ==
|
||||||
freq)
|
freq) {
|
||||||
*eirp_power = eirp_obj->eirp_power;
|
*eirp_power = eirp_obj->eirp_power;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user