Jouni Malinen c643c39287 nl80211: Fix filtering of unsupported bands/modes
The loop for removing unsupported bands was assuming there is always
exactly one band/mode following the removed band. That was not at all
correct, so fix this by dynamically determining how many (if any) bands
need to be moved.

Fixes: 106d67a93c2d ("nl80211: Filter out unsupported bands")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-11-02 18:38:41 +02:00
..
2018-11-30 21:28:19 +02:00
2020-01-02 18:05:38 +02:00
2020-01-02 18:05:38 +02:00
2019-01-02 00:23:43 +02:00
2014-12-14 18:05:32 +02:00
2016-02-16 00:14:47 +02:00