commit | 613a0129759a9408cef4bafec6e837323866e952 | [log] [tgz] |
---|---|---|
author | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | Fri Apr 24 15:18:53 2020 +0530 |
committer | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | Fri Apr 24 15:39:35 2020 +0530 |
tree | 793eb8b7c9ec27bb20ffb306c7d21bf33e2d0403 | |
parent | d0679f9bb46670c593061c4aaebec2a577cdd5c3 [diff] |
Initialize the link status and interface status correctly link status and interface status was not read from the system during construction of interface object as it was under the compiler flag NIC_SUPPORTS_ETHTOOL which is not required. This commit fixes this behaviour. TestedBy: Started the network manager and check the values for linkUp and NICEnabled property values. Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com> Change-Id: I69b008e2148ab668bfbdf877720c269d6b47b586