diff --git a/wpa_supplicant/rrm.c b/wpa_supplicant/rrm.c index 55f7f8306..f4fbfa719 100644 --- a/wpa_supplicant/rrm.c +++ b/wpa_supplicant/rrm.c @@ -629,6 +629,7 @@ static int * wpas_beacon_request_freqs(struct wpa_supplicant *wpa_s, if (ext_freqs) { int_array_concat(&freqs, ext_freqs); os_free(ext_freqs); + int_array_sort_unique(freqs); } return freqs;