Allow control over search order for tethering upstream interface selection
Change-Id: If02c9b2bb61b68ebafafadc23ba17a332bc8004f Signed-off-by: TK MUN <tk.mun@samsung.com>
This commit is contained in:
@ -1170,8 +1170,8 @@ public class Tethering extends INetworkManagementEventObserver.Stub {
|
||||
return null;
|
||||
}
|
||||
|
||||
for (String iface : ifaces) {
|
||||
for (String regex : mUpstreamIfaceRegexs) {
|
||||
for (String regex : mUpstreamIfaceRegexs) {
|
||||
for (String iface : ifaces) {
|
||||
if (iface.matches(regex)) {
|
||||
// verify it is active
|
||||
InterfaceConfiguration ifcg = null;
|
||||
|
Reference in New Issue
Block a user