iwinfo: avoid creating tmp.* ifaces for scanning
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 25 Jul 2014 15:52:17 +0000 (15:52 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 25 Jul 2014 15:52:17 +0000 (15:52 +0000)
commitb84346e141eb29aa4c4da5fec0930940b8636cf6
tree41e8ffea8b3068e3197567bf8d56e547869cd342
parentbd7642f1a96453eb6b6af9c13e861d413eac9afa
iwinfo: avoid creating tmp.* ifaces for scanning

If the iface to scan on already is in ad-hoc, station or monitor mode
then do not spawn a temporary iface.

Also preventively disable IPv6 on temporary ifaces before bringing them
up to avoid potential security issues.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41830
package/network/utils/iwinfo/src/iwinfo_nl80211.c