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

fix madwifi channel setting (#2073)

SVN-Revision: 8681
parent 4db9556f
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ enable_atheros() {
*a) agmode=11a;;
*) agmode=auto;;
esac
iwconfig "$ifname" channel 0 >/dev/null 2>/dev/null
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
ifconfig "$ifname" up
sleep 1
iwpriv "$ifname" mode "$agmode"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment