diff options
author | Bob Copeland <me@bobcopeland.com> | 2014-04-15 10:43:07 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-22 17:24:49 +0200 |
commit | a40a8c17b22ea0ce6d54c04a2e77630768691338 (patch) | |
tree | c146ae7436f4ba1676b5b5515ad6371b6503f52d /net/mac80211/mesh_hwmp.c | |
parent | aee6499c8c6d0d1bc75cbae51f89c4d35a5aaa1f (diff) |
mac80211: fix mesh_add_rsn_ie IE finding loop
Previously, the code to copy the RSN IE from the mesh config
would increment its pointer by one in the loop instead of by
the element length, so there was the potential for mistaking
another IE's data fields as the RSN IE.
cfg80211_find_ie() exists, so just use that.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
0 files changed, 0 insertions, 0 deletions