mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
madwifi: modify madwifi.sh to support IBSS WPA-NONE
Signed-off-by: Antonio Quartulli <ordex@autistici.org> SVN-Revision: 31082
This commit is contained in:
parent
d8ac2c7c3f
commit
0c21e6a7b8
@ -415,6 +415,15 @@ enable_atheros() {
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
adhoc)
|
||||||
|
if eval "type wpa_supplicant_setup_vif" 2>/dev/null >/dev/null; then
|
||||||
|
wpa_supplicant_setup_vif "$vif" madwifi || {
|
||||||
|
echo "enable_atheros($device): Failed to set up wpa"
|
||||||
|
ifconfig "$ifname" down
|
||||||
|
wlanconfig "$ifname" destroy
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
fi
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user