]> git.ipfire.org Git - thirdparty/iw.git/commit
scan: print out "Information elements from Probe Response frame" only if certain
authorJohannes Berg <johannes.berg@intel.com>
Tue, 22 May 2018 20:15:32 +0000 (22:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 May 2018 20:18:27 +0000 (22:18 +0200)
commitb50d14562a824f5849460c68d27fdc81f3c7dd1d
tree0801ab226fabc37a975270d03f9510f3c735347c
parentf3c9666902dd88d68cd018d1f56a3812f9e5369a
scan: print out "Information elements from Probe Response frame" only if certain

If we can't be sure that the IEs were really from a probe
response, avoid printing out that they were, since that's
just confusing to the user.
After kernel commit 0e227084aee3 ("cfg80211: clarify BSS
probe response vs. beacon data") in 3.18 it will set the
NL80211_BSS_PRESP_DATA attribute, so we know for sure; we
can also know if the content is different from the beacon
content.

Reported-by: Denis Kenzior <denkenz@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
scan.c