]> git.ipfire.org Git - thirdparty/hostap.git/commit
scan_est_throughput: Use ie_len instead of res->ie_len
authorMatthew Wang <matthewmwang@chromium.org>
Thu, 23 Jan 2020 22:18:17 +0000 (14:18 -0800)
committerJouni Malinen <jouni@codeaurora.org>
Sun, 2 Feb 2020 19:55:42 +0000 (21:55 +0200)
commitfee28410de6b5b5a609c656c09a434ddc48e8b91
tree9b2a84373a42b9cffafa3cc24351c07f07ed7ef4
parentb2b7f8dcfa3a31171505e84689ec57297384e698
scan_est_throughput: Use ie_len instead of res->ie_len

Local variable should be used. This fixes an issue where IEs are
available only from a Beacon frame.

Fixes: ad06ac0b0 ("Move throughput estimation into a helper function")
Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
wpa_supplicant/scan.c