On Wed, Jan 29, 2014 at 2:33 PM, Daniel <[email protected]> wrote:
> hostapd expects basic_rates list to be space separated and in
> 100kbit/s units.
Yep, I had a similar patch in my local tree. Thanks for fixing!
> ---
> package/network/services/hostapd/files/netifd.sh | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/package/network/services/hostapd/files/netifd.sh
> b/package/network/services/hostapd/files/netifd.sh
> index c8518b4..2e8e045 100644
> --- a/package/network/services/hostapd/files/netifd.sh
> +++ b/package/network/services/hostapd/files/netifd.sh
> @@ -1,9 +1,7 @@
> hostapd_add_rate() {
> local var="$1"
> - local val="$(($2 / 1000))"
> - local sub="$((($2 / 100) % 10))"
> - append $var "$val" ","
> - [ $sub -gt 0 ] && append $var "."
> + local val="$(($2 / 100))"
> + append $var "$val" " "
> }
>
> hostapd_append_wep_key() {
> --
> 1.8.5.3
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel