--- x/net/wireless/scan.c +++ y/net/wireless/scan.c @@ -1904,19 +1904,6 @@ cfg80211_update_known_bss(struct cfg8021 if (known->pub.hidden_beacon_bss && !list_empty(&known->hidden_list)) { - const struct cfg80211_bss_ies *f; - - /* The known BSS struct is one of the probe - * response members of a group, but we're - * receiving a beacon (beacon_ies in the new - * bss is used). This can only mean that the - * AP changed its beacon from not having an - * SSID to showing it, which is confusing so - * drop this information. - */ - - f = rcu_access_pointer(new->pub.beacon_ies); - kfree_rcu((struct cfg80211_bss_ies *)f, rcu_head); return false; }