Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf34f47e authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Update scan results when frequency band is set

Change-Id: I4864b66f96744682a0de274fd49cca035ffc5d3c
parent 089c3c7c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2145,6 +2145,8 @@ public class WifiStateMachine extends HierarchicalStateMachine {
                    Log.d(TAG, "set frequency band " + band);
                    if (WifiNative.setBandCommand(band)) {
                        mFrequencyBand.set(band);
                        //Fetch the latest scan results when frequency band is set
                        startScan(true);
                    } else {
                        Log.e(TAG, "Failed to set frequency band " + band);
                    }