Searched hist:"4 fdbc67a25ce577b79b3af595e874e9ef921329f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/mac80211/ |
H A D | driver-ops.h | diff 4fdbc67a25ce577b79b3af595e874e9ef921329f Thu Aug 11 05:38:16 CDT 2016 Maxim Altshul <maxim.altshul@ti.com> 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>
|
H A D | sta_info.c | diff 4fdbc67a25ce577b79b3af595e874e9ef921329f Thu Aug 11 05:38:16 CDT 2016 Maxim Altshul <maxim.altshul@ti.com> 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>
|