mac80211: init rate-control for TDLS sta when supp-rates are known
authorArik Nemtsov <arik@wizery.com>
Mon, 7 Nov 2011 21:24:39 +0000 (23:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:47 +0000 (12:32 -0500)
commitd64cf63e062f6741f80c393f19c9706358489cc7
tree4fdd104411270b7e4a7eb339cd457870bd413d82
parentdd9dfb9f95e2141db672eb12a1d71892e9e481fb
mac80211: init rate-control for TDLS sta when supp-rates are known

Initialize rate control algorithms only when supported rates are known
for a TDLS peer sta. Direct Tx between peers is not allowed before the
link is enabled. In turn, this only occurs after a change_station()
call that sets supported rates.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c