fix captive portal stuck on ath9k driver.
This commit is contained in:
parent
4e34fc809d
commit
53718ca38a
|
@ -116,7 +116,7 @@ captive_portal_set_ap_interface() {
|
||||||
# interface is in used by something else (virtual reservation?).
|
# interface is in used by something else (virtual reservation?).
|
||||||
echo "Virtual interface required, attempting." > $FLUXIONOutputDevice
|
echo "Virtual interface required, attempting." > $FLUXIONOutputDevice
|
||||||
if ! iw dev $CaptivePortalJammerInterface interface \
|
if ! iw dev $CaptivePortalJammerInterface interface \
|
||||||
add ${CaptivePortalJammerInterface}v type monitor \
|
add ${CaptivePortalJammerInterface}v type managed \
|
||||||
2> $FLUXIONOutputDevice; then
|
2> $FLUXIONOutputDevice; then
|
||||||
echo -e "$FLUXIONVLine $CaptivePortalCannotStartInterfaceError"
|
echo -e "$FLUXIONVLine $CaptivePortalCannotStartInterfaceError"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
Loading…
Reference in New Issue