Lines Matching refs:sub_copy
272 u8 *sub_copy; in cfg80211_gen_new_ie() local
277 sub_copy = kmemdup(subelement, subie_len, gfp); in cfg80211_gen_new_ie()
278 if (!sub_copy) in cfg80211_gen_new_ie()
284 tmp_new = cfg80211_find_ie(WLAN_EID_SSID, sub_copy, subie_len); in cfg80211_gen_new_ie()
293 sub_copy, subie_len); in cfg80211_gen_new_ie()
309 tmp = (u8 *)cfg80211_find_ext_ie(tmp_old[2], sub_copy, in cfg80211_gen_new_ie()
312 tmp = (u8 *)cfg80211_find_ie(tmp_old[0], sub_copy, in cfg80211_gen_new_ie()
362 tmp_new = sub_copy; in cfg80211_gen_new_ie()
363 while (tmp_new + 2 - sub_copy <= subie_len && in cfg80211_gen_new_ie()
364 tmp_new + tmp_new[1] + 2 - sub_copy <= subie_len) { in cfg80211_gen_new_ie()
370 if (tmp_new + tmp_new[1] + 2 - sub_copy == subie_len) in cfg80211_gen_new_ie()
375 kfree(sub_copy); in cfg80211_gen_new_ie()