mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
madwifi: modify madwifi.sh to support IBSS WPA-NONE
Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31082 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
750159572a
commit
071f766b1d
@ -415,6 +415,15 @@ enable_atheros() {
|
||||
}
|
||||
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
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user