From: Jouni Malinen Date: Fri, 1 Nov 2013 10:52:17 +0000 (+0200) Subject: AOSP: Leftover edits from old commit X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a26fe481355cab150653630cdf3bee7ac4d084;p=thirdparty%2Fhostap.git AOSP: Leftover edits from old commit This came in as a part of the following AOSP commit. The actual change was since then removed, but the remaining code was not restored to match the upstream version. This should be reverted. commit 687922c7347bdc3b4f8c921efe1d1388cb3baac0 Author: Dmitry Shmidt Date: Mon Mar 26 14:02:32 2012 -0700 Update to Version 0.8.24 from BRCM - Add 'conc_priority' command - Fix handling a single channel concurrency case: If conc_priority is not set, advertise the frequency conflict to the framework and disable the new connection attempted - When P2P Interface gets removed due to single channel frequency conflict, show GROUP_REMOVE reason=FREQ_CONFLICT - Fix sched scan processing Change-Id: Ie6fe105cebd379a0a9c49ace62d2e48e71571107 Signed-off-by: Dmitry Shmidt --- diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c index a2584bd31..a0f51d0cb 100644 --- a/wpa_supplicant/scan.c +++ b/wpa_supplicant/scan.c @@ -271,8 +271,9 @@ wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s, ret = wpa_drv_sched_scan(wpa_s, params, interval * 1000); if (ret) wpa_supplicant_notify_scanning(wpa_s, 0); - else + else { wpa_s->sched_scanning = 1; + } return ret; }