Loading net/wireless/util.c +3 −15 Original line number Diff line number Diff line Loading @@ -684,22 +684,10 @@ EXPORT_SYMBOL(cfg80211_classify8021d); const u8 *ieee80211_bss_get_ie(struct cfg80211_bss *bss, u8 ie) { u8 *end, *pos; pos = bss->information_elements; if (pos == NULL) return NULL; end = pos + bss->len_information_elements; while (pos + 1 < end) { if (pos + 2 + pos[1] > end) break; if (pos[0] == ie) return pos; pos += 2 + pos[1]; } if (bss->information_elements == NULL) return NULL; return cfg80211_find_ie(ie, bss->information_elements, bss->len_information_elements); } EXPORT_SYMBOL(ieee80211_bss_get_ie); Loading Loading
net/wireless/util.c +3 −15 Original line number Diff line number Diff line Loading @@ -684,22 +684,10 @@ EXPORT_SYMBOL(cfg80211_classify8021d); const u8 *ieee80211_bss_get_ie(struct cfg80211_bss *bss, u8 ie) { u8 *end, *pos; pos = bss->information_elements; if (pos == NULL) return NULL; end = pos + bss->len_information_elements; while (pos + 1 < end) { if (pos + 2 + pos[1] > end) break; if (pos[0] == ie) return pos; pos += 2 + pos[1]; } if (bss->information_elements == NULL) return NULL; return cfg80211_find_ie(ie, bss->information_elements, bss->len_information_elements); } EXPORT_SYMBOL(ieee80211_bss_get_ie); Loading