bnxt_en: Wait longer for the firmware message response to complete.
[sfrench/cifs-2.6.git] / drivers / net / ethernet / broadcom / bnxt / bnxt.c
index 1ddd6721d7cdfdf7aff6bca49c1b1a4e422393e8..d95730c6e0f20a9b1bd5987796bf790e1ea8ac32 100644 (file)
@@ -3926,7 +3926,7 @@ static int bnxt_hwrm_do_send_msg(struct bnxt *bp, void *msg, u32 msg_len,
                        dma_rmb();
                        if (*valid)
                                break;
-                       udelay(1);
+                       usleep_range(1, 5);
                }
 
                if (j >= HWRM_VALID_BIT_DELAY_USEC) {