mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
wireless-tools.if-pre-up - move setting of the ESSID to the end of the script,
because certain chipsets (ZD1211) use that as the "commit" operation. (from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3537 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -60,10 +60,6 @@ if [ -n "$IF_WIRELESS_RETRY" ]; then
|
|||||||
$IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY
|
$IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$IF_WIRELESS_ESSID" ]; then
|
|
||||||
$IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$IF_WIRELESS_NICK" ]; then
|
if [ -n "$IF_WIRELESS_NICK" ]; then
|
||||||
$IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK"
|
$IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK"
|
||||||
fi
|
fi
|
||||||
@@ -116,6 +112,10 @@ if [ -n "$IF_WIRELESS_CHANNEL" ]; then
|
|||||||
$IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL
|
$IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$IF_WIRELESS_ESSID" ]; then
|
||||||
|
$IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$IF_WIRELESS_COMMIT" ]; then
|
if [ -n "$IF_WIRELESS_COMMIT" ]; then
|
||||||
$IWCONFIG "$IFACE" commit
|
$IWCONFIG "$IFACE" commit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user