]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: sync frequency to channel mapping with kernel
authorBruno Randolf <br1@einfach.org>
Thu, 26 Sep 2013 16:45:45 +0000 (17:45 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Sep 2013 09:32:22 +0000 (11:32 +0200)
commit58b46da26ab9b5ff31c7033e175351eb1301d9af
tree58c5c1d8f8aba010ec46c9bb2c9f0cf21dab2862
parent7e10c4ab5e99f23c4d8e78dbcda56af71f9f1d56
iw: sync frequency to channel mapping with kernel

Use ieee80211_frequency_to_channel() and ieee80211_channel_to_frequency() as in
the current kernel. This is necessary to properly print the channel numbers for
4.9GHz channels which can be used in Japan.

Signed-off-by: Bruno Randolf <br1@einfach.org>
iw.h
phy.c
util.c