]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ipmi:bt: Set the timeout before doing a capabilities check
authorCorey Minyard <cminyard@mvista.com>
Tue, 22 May 2018 13:14:51 +0000 (08:14 -0500)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Jan 2019 09:28:55 +0000 (09:28 +0000)
commit881f13b60faae344223474bc1aa4d280ca349f56
treeacc2aa790eb4d1f48b12fe2d1b64411f483e0497
parentcf5dab54d32806ed6ae1c7b4040483b0805c8da9
ipmi:bt: Set the timeout before doing a capabilities check

BugLink: http://bugs.launchpad.net/bugs/1807469
commit fe50a7d0393a552e4539da2d31261a59d6415950 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: Nordmark Claes <Claes.Nordmark@tieto.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/char/ipmi/ipmi_bt_sm.c