]> git.ipfire.org Git - thirdparty/iw.git/commit
util: Add generic frequency/channel command line handler
authorBenjamin Berg <benjamin.berg@open-mesh.com>
Mon, 7 Nov 2016 14:59:36 +0000 (15:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Nov 2016 12:18:31 +0000 (13:18 +0100)
commit997c60fdcc1fc3c2cce9f148724915b85eb069af
tree400711eb372cf96dce709be8abc86da2fe386dcb
parentf13627c4aa9534a2cf9b1709a38655d45efab682
util: Add generic frequency/channel command line handler

The ability to parse channel definitions is required in a lot of places
inside iw. However, right now each of these duplicates a lot of code to
handle it.

So add a new helper which can be used everywhere.

Signed-off-by: Benjamin Berg <benjamin.berg@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw.h
util.c