[PATCH] AP: configure basic rates from iface and not conf

Jouni Malinen j
Thu Sep 6 14:25:32 PDT 2012

On Mon, Sep 03, 2012 at 11:58:27AM +0300, Arik Nemtsov wrote:
> The conf doesn't contain any basic rates in some cases. Most notably,
> when starting a p2p GO in 5Ghz. Use the iface rates which are
> initialized in hostapd_prepare_rates() to the conf rates or set to
> default values if no conf values exist.

Thanks, applied. Though, I had to fix another issue with commit
e5693c4775bae65faa960f80889f98b0a6cb2e1c first since this patch on its
own would have resulted in buffer read overflow
(hapd->iface->basic_rates did not include the terminating -1 value).

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list