def disable_monitor_mode():
 global RUN_CONFIG
 if (RUN_CONFIG.IFACE_TO_TAKE_DOWN == ''):
  return
 print (((GR + ' [+]') + W) + (' disabling monitor mode on %s...' % ((G + RUN_CONFIG.IFACE_TO_TAKE_DOWN) + W))),
 stdout.flush()
 call(['airmon-ng', 'stop', RUN_CONFIG.IFACE_TO_TAKE_DOWN], stdout=DN, stderr=DN)
 print 'done'

def disable_monitor_mode ( ) : global RUN_CONFIG if ( RUN_CONFIG . IFACE_TO_TAKE_DOWN == '' ) : return print ( ( ( GR + ' [+]' ) + W ) + ( ' disabling monitor mode on %s...' % ( ( G + RUN_CONFIG . IFACE_TO_TAKE_DOWN ) + W ) ) ) , stdout . flush ( ) call ( [ 'airmon-ng' , 'stop' , RUN_CONFIG . IFACE_TO_TAKE_DOWN ] , stdout = DN , stderr = DN ) print 'done'
the program may have enabled monitor mode on a wireless interface .