Maxim Altshul 4fdbc67a25 mac80211: call get_expected_throughput only after adding station
Depending on which method the driver implements, userspace could
call this (indirectly, by getting station info) before the driver
knows about the station, possibly causing it to misbehave.

Therefore, add a check for sta->uploaded which indicates that the
driver knows about the station.

Signed-off-by: Maxim Altshul <maxim.altshul@ti.com>
[reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-08-11 20:00:37 +02:00
..
2015-01-27 11:07:35 +01:00
2015-01-27 11:09:13 +01:00
2014-11-04 13:18:21 +01:00
2014-04-09 14:49:43 +02:00
2016-04-12 15:56:15 +02:00
2015-08-14 17:49:53 +02:00
2016-04-06 13:18:18 +02:00
2015-05-11 19:16:04 +02:00
2015-10-14 18:40:26 +02:00
2014-04-09 14:49:43 +02:00
2016-04-12 15:56:15 +02:00
2016-04-12 15:56:15 +02:00
2016-04-12 15:56:15 +02:00
2015-05-11 14:51:29 +02:00