]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Re-arrange bnxt_hwrm_func_qcaps().
authorMichael Chan <michael.chan@broadcom.com>
Mon, 19 Sep 2016 07:58:05 +0000 (03:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 01:32:25 +0000 (21:32 -0400)
commitc6a465710a813193247c7f5d9f82660971b93a6f
tree27da89ee406c3c5cbd99f62c6e80f8a4c969db5b
parentb2f4c492d77462a0b57bf1db5541f025243748a2
bnxt_en: Re-arrange bnxt_hwrm_func_qcaps().

Re-arrange the code so that the generation of the random MAC address for
the VF is at the end of the function.  The next patch will add one more step
to call bnxt_approve_mac() to get the firmware to approve the random MAC
address.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c