]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: call rate control only after init
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Jan 2012 12:55:23 +0000 (13:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 20:35:11 +0000 (15:35 -0500)
commite48cefcb781ee2e348312dcd08cc66b293dcb577
tree65ec2b02b60e572f0067771da951bcf53b52aa9c
parent2cfa2f276d7087854a930bb06133fa444ca6afac
mac80211: call rate control only after init

There are situations where we don't have the
necessary rate control information yet for
station entries, e.g. when associating. This
currently doesn't really happen due to the
dummy station handling; explicitly disabling
rate control when it's not initialised will
allow us to remove dummy stations.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_sta.c
net/mac80211/rate.c
net/mac80211/rate.h
net/mac80211/sta_info.h