Skip to content
Commit 42d8a346 authored by Xianting Tian's avatar Xianting Tian Committed by Corey Minyard
Browse files

ipmi: add retry in try_get_dev_id()



Use a retry machanism to give the BMC more opportunities to correctly
respond when we receive specific completion codes.

This is similar to what is done in __get_device_id().

Signed-off-by: default avatarXianting Tian <tian.xianting@h3c.com>
Message-Id: <20200916062129.26129-1-tian.xianting@h3c.com>
[Moved GET_DEVICE_ID_MAX_RETRY to include/linux/ipmi.h, reworded some
 text.]
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent a190db94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment