commit | c17fe043a3b79255c6cbe76aafb594849fac0005 | [log] [tgz] |
---|---|---|
author | Sara Sharon <sara.sharon@intel.com> | Tue Jan 29 14:00:58 2019 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Feb 08 13:56:37 2019 +0100 |
tree | 70e7834e2bbadfa4b489e8522101dacfe3137a20 | |
parent | caf56338c22f00098bf2acd646b0ddc691c80c24 [diff] |
cfg80211: fix the IE inheritance of extension IEs Extension IEs have ID 255 followed by extension ID. Current code is buggy in handling it in two ways: 1. When checking if IE is in the frame, it uses just the ID, which for extension elements is too broad. 2. It uses 0xFF to mark copied IEs, which will result in not copying extension IEs from the subelement. Fix both issue. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>