Skip to content
Snippets Groups Projects
Commit c1366bb4 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

madwifi: add some extra delay between bringing the interface up and configuring it (#1703)

SVN-Revision: 7729
parent 2cccffcb
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,7 @@ enable_atheros() { ...@@ -104,6 +104,7 @@ enable_atheros() {
esac esac
iwconfig "$ifname" channel 0 >/dev/null 2>/dev/null iwconfig "$ifname" channel 0 >/dev/null 2>/dev/null
ifconfig "$ifname" up ifconfig "$ifname" up
sleep 1
iwpriv "$ifname" mode "$agmode" iwpriv "$ifname" mode "$agmode"
iwpriv "$ifname" pureg "$pureg" iwpriv "$ifname" pureg "$pureg"
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment