summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorMaxim Altshul2016-08-11 12:38:16 +0200
committerJohannes Berg2016-08-11 20:00:37 +0200
commit4fdbc67a25ce577b79b3af595e874e9ef921329f (patch)
treeac0650b0e51223b96cbfead2ff2f0af654889b37 /net/Makefile
parentcfg80211: identically validate beacon interval for AP/MESH/IBSS (diff)
downloadkernel-qcow2-linux-4fdbc67a25ce577b79b3af595e874e9ef921329f.tar.gz
kernel-qcow2-linux-4fdbc67a25ce577b79b3af595e874e9ef921329f.tar.xz
kernel-qcow2-linux-4fdbc67a25ce577b79b3af595e874e9ef921329f.zip
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>
Diffstat (limited to 'net/Makefile')
0 files changed, 0 insertions, 0 deletions