diff options
author | James Rayner <james@archlinux.org> | 2008-08-05 17:04:29 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2008-08-05 17:04:29 +0200 |
commit | 8562faa3ca1bd7fc16830d19f49044280e2d7bb9 (patch) | |
tree | 606fd74b1e8398fae6ec128fadefe9594f75ead7 /src | |
parent | bbc8c444c204fdce496468190a1f5ec4931c4e53 (diff) | |
download | netctl-8562faa3ca1bd7fc16830d19f49044280e2d7bb9.tar.gz netctl-8562faa3ca1bd7fc16830d19f49044280e2d7bb9.tar.xz |
Add wierd quirk for some atheros hardware FS#10585
Diffstat (limited to 'src')
-rw-r--r-- | src/wireless.subr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wireless.subr b/src/wireless.subr index 94796c9..6a3cabc 100644 --- a/src/wireless.subr +++ b/src/wireless.subr @@ -144,11 +144,16 @@ wireless_up() { WEP_OPTS="mode managed essid \"$ESSID\"" fi + # Add wierd quirk for some Atheros in response to FS#10585 + quirk "predown" && ifconfig $INTERFACE down + if ! eval iwconfig $INTERFACE $WEP_OPTS; then err_append "Could not set wireless configuration" return 1 fi + quirk "predown" && ifconfig $INTERFACE up + wep_check $INTERFACE $TIMEOUT|| return 1 ;; wpa) |