iwinfo: nl80211: omit A-hwmode on non-5GHz hardware
authorDavid Bauer <mail@david-bauer.net>
Mon, 25 Apr 2022 23:53:51 +0000 (01:53 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 26 Apr 2022 22:51:14 +0000 (00:51 +0200)
commitdc6847eb5ec8747867bc20f1024723c6397c1df7
tree55298c833c90e72adc655ace1151f4bf155027b1
parenta479b9b08aeac82fd45cc7a306937c9447157f5e
iwinfo: nl80211: omit A-hwmode on non-5GHz hardware

Don't add the hwmode A for radios which do not support 5GHz operation.
Before, this hwmode was added to all non-VHT radios regardless of their
supported bands.

Fixes commit 562d01532616 ("iwinfo: nl80211: fix hwmode parsing for multi-band NICs")

Signed-off-by: David Bauer <mail@david-bauer.net>
iwinfo_nl80211.c