wifi: mac80211: move radar detect work to wiphy work
[platform/kernel/linux-rpi.git] / net / mac80211 / he.c
index 0322aba..9f5ffdc 100644 (file)
@@ -128,8 +128,7 @@ ieee80211_he_cap_ie_to_sta_he_cap(struct ieee80211_sub_if_data *sdata,
                return;
 
        own_he_cap_ptr =
-               ieee80211_get_he_iftype_cap(sband,
-                                           ieee80211_vif_type_p2p(&sdata->vif));
+               ieee80211_get_he_iftype_cap_vif(sband, &sdata->vif);
        if (!own_he_cap_ptr)
                return;