OSDN Git Service

AP: Configure basic rates from iface and not conf
authorArik Nemtsov <arik@wizery.com>
Thu, 6 Sep 2012 21:22:40 +0000 (00:22 +0300)
committerDmitry Shmidt <dimitrysh@google.com>
Sun, 9 Sep 2012 21:05:14 +0000 (14:05 -0700)
commit2d266067893660e2a4b5f166a909ee8638a5c96a
tree4a5a1abf6099c6a77111e76ec52361019fb45b61
parent5c44edb00c9384534a1b50981071874436aaecd5
AP: Configure basic rates from iface and not conf

The conf doesn't contain any basic rates in some cases. Most notably,
when starting a P2P GO in 5 GHz. 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. This fixes a bug introduced in
commit e5693c4775bae65faa960f80889f98b0a6cb2e1c.

Signed-hostap: Arik Nemtsov <arik@wizery.com>
src/ap/beacon.c