On Tue, 2010-06-15 at 09:24 +0300, Teemu Paasikivi wrote: > @@ -41,6 +46,31 @@ static int join_ibss(struct nl80211_state *state, > argc--; > } > > + /* basic rates */ > + if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) { > + argv++; > + argc--; > + > + value = strtok_r(argv[0], ",", &sptr); > + > + while (value && n_rates < NL80211_MAX_SUPP_RATES) { > + rate = atof(value); should that use strtod() to check you didn't give "1a,2b,6c,11d"? johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html