BUGFIX#5730 : restore pre-existing flags after stopping
drwxr-xr-x - wifiscand
drwxr-xr-x - wifiscanner