1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:13:20 +02:00

madwifi: fix static bssid setting for ad-hoc mode

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7067 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-04-29 20:50:42 +00:00
parent 2064758dc2
commit c5bab4ae7e

View File

@ -142,15 +142,15 @@ enable_atheros() {
config_get addr "$vif" bssid
iwpriv "$ifname" wds_add "$addr"
;;
*)
config_get ssid "$vif" ssid
;;
adhoc)
config_get addr "$vif" bssid
[ -z "$addr" ] || {
iwconfig "$ifname" ap "$addr"
}
;;
*)
config_get ssid "$vif" ssid
;;
esac
[ "$mode" = "sta" ] && {