commit | 2f272069ea2edd1b3bb897c9777174f8808189ba | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Mon Dec 05 14:17:25 2011 -0800 |
committer | Guy Harris <guy@alum.mit.edu> | Mon Dec 05 14:17:25 2011 -0800 |
tree | 9d7c1a25cd974f99c4ef632a85a9f98fccc60f2c | |
parent | 6151aa3012c169956571c496b701a97e9d3c3055 [diff] |
Fix monitor mode handling with non-mac80211 drivers. If we don't have any private Wireless Extension ioctls to control radio headers, we should still try to turn monitor mode off and on. With the Wireless Extensions, you might not be able to turn monitor mode on or off if the interface is up, so take it down first and bring it back up afterwards. Also add the interface name to the warning messages printed when trying to restore modes when the program exits.