X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/c537863342182954341e4a21bb9b56888e334213..31a40f97ef54e10e2b3dc3cacb9cff436657c586:/package/madwifi/patches/105-ratectl_attach.patch diff --git a/package/madwifi/patches/105-ratectl_attach.patch b/package/madwifi/patches/105-ratectl_attach.patch index 1303acfb0..80aad835e 100644 --- a/package/madwifi/patches/105-ratectl_attach.patch +++ b/package/madwifi/patches/105-ratectl_attach.patch @@ -8,7 +8,7 @@ - return NULL; + /* pick the first available rate control module */ + printk(KERN_INFO "Rate control module \"%s\" not available\n", buf); -+ for (id = 0; id < IEEE80211_RATE_MAX; id++) { ++ for (id = 0; id < IEEE80211_RATE_MAX - 1; id++) { + if (ratectls[id].attach) + break; + }