fix captive portal stuck on ath9k driver.

This commit is contained in:
Usama Abdul Sattar 2019-08-01 11:22:06 +05:00 committed by GitHub
parent 4e34fc809d
commit 53718ca38a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ captive_portal_set_ap_interface() {
# interface is in used by something else (virtual reservation?).
echo "Virtual interface required, attempting." > $FLUXIONOutputDevice
if ! iw dev $CaptivePortalJammerInterface interface \
add ${CaptivePortalJammerInterface}v type monitor \
add ${CaptivePortalJammerInterface}v type managed \
2> $FLUXIONOutputDevice; then
echo -e "$FLUXIONVLine $CaptivePortalCannotStartInterfaceError"
sleep 5