iwinfo: Fix 802.11ad channel to frequency
authorRobert Marko <robimarko@gmail.com>
Thu, 28 Mar 2019 13:55:55 +0000 (14:55 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 28 Mar 2019 14:02:58 +0000 (15:02 +0100)
commitc2cfe9d96c9a321f7314e6321361ae6c982bbb0f
tree074833aa03f8a0c39c1e5f057d003331457282e3
parenta8e827592338d7f10d93b4b93d04f367221465c2
iwinfo: Fix 802.11ad channel to frequency

This patch enables proper identification of ad hwmode in channel2frequency function.
Now iwinfo will properly calculate frequency for a channels 1-6 in 802.11ad.

Fixes a8e827592338d7f10d93b4b93d04f367221465c2

Signed-off-by: Robert Marko <robimarko@gmail.com>
iwinfo_nl80211.c