Skip to content
Commit c86ba91b authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi: Move BT capabilities detection to the detect call



The capabilities detection was being done as part of the normal
state machine, but it was possible for it to be running while
the upper layers of the IPMI driver were initializing the
device, resulting in error and failure to initialize.

Move the capabilities detection to the the detect function,
so it's done before anything else runs on the device.  This also
simplifies the state machine and removes some code, as a bonus.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Reported-by: default avatarAndrew Banman <abanman@hpe.com>
Tested-by: default avatarAndrew Banman <abanman@hpe.com>
Cc: <stable@vger.kernel.org>
parent 2512e40e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment