P2P: Do not perform P2P GO CS in some cases
[mech_eap.git] / wpa_supplicant / ctrl_iface.c
index 3f533ce..e802489 100644 (file)
@@ -5761,7 +5761,7 @@ static int p2p_ctrl_disallow_freq(struct wpa_supplicant *wpa_s,
                           freq->min, freq->max);
        }
 
-       wpas_p2p_update_channel_list(wpa_s);
+       wpas_p2p_update_channel_list(wpa_s, WPAS_P2P_CHANNEL_UPDATE_DISALLOW);
        return 0;
 }