summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohnathan Mantey <johnathanx.mantey@intel.com>2022-11-15 23:15:02 +0300
committerEd Tanous <ed@tanous.net>2022-12-05 20:01:02 +0300
commit0ef0e289e4fc695e00a3331506befdea749ed079 (patch)
tree3cff3582b7961720322e16c5ca942a7196241348 /scripts
parentfcd2682a23e3a66d1fee65d866d2b002e8424af6 (diff)
downloadbmcweb-0ef0e289e4fc695e00a3331506befdea749ed079.tar.xz
Prevent unconditionally writing over the LinkStatus
The NIC LinkStatus was being assigned a LinkUp or NoLink value depending on whether the NIC is enabled. Subsequent code unconditionally overwrites the LinkStatus. The LinkStatus needs to take into account the NIC enabled state as well as the link up/down state. Tested: Confirmed NIC enabled/link active resulted in LinkUp. Confrimed NIC enabled/no-carrier resulted in LinkDown. Connfimred NIC disable resulted in NoLink. Change-Id: Iece3686cac9714e427b0e100f486a4ced334f7af Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions