summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2016-02-26 04:00:04 -0500
committerDavid S. Miller <davem@davemloft.net>2016-03-01 15:37:01 -0500
commitff4fe81d2d49e3cad3bb45c8c5b9a49ca90ee10b (patch)
tree11618159ef9054f561b858d27bb123d15a426007 /net/lapb/lapb_out.c
parentdfc9c94a83909f4be80e5d0c67e79793830aa312 (diff)
bnxt_en: Use firmware provided message timeout value.
Before this patch, we used a hardcoded value of 500 msec as the default value for firmware message response timeout. For better portability with future hardware or debug platforms, use the value provided by firmware in the first response and store it for all susequent messages. Redefine the macro HWRM_CMD_TIMEOUT to the stored value. Since we don't have the value yet in the first message, use the 500 ms default if the stored value is zero. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions