diff options
author | Michael Chan <michael.chan@broadcom.com> | 2019-02-20 19:07:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-22 15:16:56 -0800 |
commit | 67681d02aaa1db9044a16df4ca9c77cde1221a3e (patch) | |
tree | e09897c5f69147cda43aaeb2b5fcde31871a35db /drivers/dma | |
parent | Merge tag 'mac80211-for-davem-2019-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 (diff) | |
download | linux-dev-67681d02aaa1db9044a16df4ca9c77cde1221a3e.tar.xz linux-dev-67681d02aaa1db9044a16df4ca9c77cde1221a3e.zip |
bnxt_en: Fix typo in firmware message timeout logic.
The logic that polls for the firmware message response uses a shorter
sleep interval for the first few passes. But there was a typo so it
was using the wrong counter (larger counter) for these short sleep
passes. The result is a slightly shorter timeout period for these
firmware messages than intended. Fix it by using the proper counter.
Fixes: 9751e8e71487 ("bnxt_en: reduce timeout on initial HWRM calls")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions