ipmi:bt: Set the timeout before doing a capabilities check
Corey Minyard authored
commit fe50a7d0

 upstream.

There was one place where the timeout value for an operation was
not being set, if a capabilities request was done from idle.  Move
the timeout value setting to before where that change might be
requested.

IMHO the cause here is the invisible returns in the macros.  Maybe
that's a job for later, though.
Reported-by: default avatarNordmark Claes <Claes.Nordmark@tieto.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
3ffecef6