nl80211: properly get available bands for the hwmode
authorAndre Heider <[email protected]>
Fri, 18 Nov 2022 11:12:09 +0000 (12:12 +0100)
committerJo-Philipp Wich <[email protected]>
Thu, 15 Dec 2022 22:42:36 +0000 (23:42 +0100)
commit4ba571370d51d3a5b096403e9234e9e3c371dfd2
treea2e8696dc5eb906e369ca323498e06eeac3eef4b
parent91b2ada7878e5e4530745a2eb9b20ca47c94249b
nl80211: properly get available bands for the hwmode

Just use the already provided info instead of mapping frequencies.

Fixes mapping lower frequencies of the 6G band, which starts at 5935MHz.

Signed-off-by: Andre Heider <[email protected]>
iwinfo_nl80211.c