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)
committerJouni Malinen <j@w1.fi>
Thu, 6 Sep 2012 21:22:40 +0000 (00:22 +0300)
commit44256451130c4766e4a019162de17d0734444ee9
tree6b1558bdb5b54965e64d0118b3a880c7b6c18854
parentf0898e95194201ddb49575845a1ec156c66ad3c3
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