]> git.ipfire.org Git - thirdparty/iw.git/commit - scan.c
iw: make parse_random_mac_addr() more generally available
authorJohannes Berg <johannes.berg@intel.com>
Mon, 19 Nov 2018 10:22:55 +0000 (11:22 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Feb 2019 21:57:23 +0000 (22:57 +0100)
commit3c0117c1f0f1976445420405be8e9ffc9f8948af
treed0016791397f4b6a50a82f3931f9146f93180b33
parent806bb9ace9f2277e25416f0f52429b9dee6cef03
iw: make parse_random_mac_addr() more generally available

The parse_random_mac_addr() function is useful in contexts
other than scanning, so make it more generally available and
make it set the attributes to randomise all when no arguments
are given.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw.h
scan.c
util.c