iwinfo: avoid creating tmp.* ifaces for scanning
authorJo-Philipp Wich <[email protected]>
Fri, 25 Jul 2014 15:52:17 +0000 (15:52 +0000)
committerJo-Philipp Wich <[email protected]>
Fri, 25 Jul 2014 15:52:17 +0000 (15:52 +0000)
commitd5b2777a77ffa6055ee8a42426844c3a372e6cf6
treefbab17f225c771071a199704dcb6d72986461142
parent79ca28c717841221ae0382397174e55180f4fbb5
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 <[email protected]>
SVN-Revision: 41830
package/network/utils/iwinfo/src/iwinfo_nl80211.c