mirror of
https://github.com/opnsense/src.git
synced 2026-06-19 21:49:14 -04:00
While the main purpose was to assign an(y) early chandef with the
loop, later additions made use of it to also count supbands as well
as to initialise max_rates.
Due to the main goal we can exit the loop early and not properly
count and initialise supbands and max_rates.
Move the terminating condition into the loop and make it a continue
rather than ending the loop.
Fixes:
|
||
|---|---|---|
| .. | ||
| common | ||
| dummy/include | ||