From: Bob Copeland Date: Tue, 15 Apr 2014 14:43:07 +0000 (-0400) Subject: mac80211: fix mesh_add_rsn_ie IE finding loop X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~12^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40a8c17b22ea0ce6d54c04a2e77630768691338;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed