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

Commit 00886760 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Make failure to set addrgenmode a non-fatal error.

Bug: 17613910
Test: bullhead builds, boots, connects to wifi
Change-Id: I310dcacc6784c13904fca79b839b5f4d94bfc45e
parent b355b7f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1064,7 +1064,7 @@ public class IpManager extends StateMachine {
            mNwService.setIPv6AddrGenMode(mInterfaceName, mConfiguration.mIPv6AddrGenMode);
            mNwService.setIPv6AddrGenMode(mInterfaceName, mConfiguration.mIPv6AddrGenMode);
        } catch (ServiceSpecificException e) {
        } catch (ServiceSpecificException e) {
            if (e.errorCode != OsConstants.EOPNOTSUPP) {
            if (e.errorCode != OsConstants.EOPNOTSUPP) {
                throw e;
                logError("Unable to set IPv6 addrgen mode: %s", e);
            }
            }
        }
        }
    }
    }