MA-7253 bcmdhd: avoid null interface before update tx status
authorHaoran Wang <b50027@freescale.com>
Wed, 25 Nov 2015 08:48:11 +0000 (16:48 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:40 +0000 (14:49 -0500)
commit68b64f83806a3e69f3441ccf3d277ce23478391b
tree3f055f5a0494e2fca16debbe3da2c5d86533a8e1
parentfdf81f5e7947c4dc19bdecbbe13a1e027ac0737a
MA-7253 bcmdhd: avoid null interface before update tx status

Avoid to access the null interface before update tx status.

This patch workaround to fix the panic when the p2p connection
disconnect in the p2p stress test. The interface will be
released during the disconnect process.

Fixed coding style issue by Aisheng.

Acked-by: Dong Aisheng <aisheng.dong@freescale.com>
Signed-off-by: Haoran Wang <b50027@freescale.com>
(cherry picked from commit 4e093820e74a83d86f3bb0dadc1054e3ddb8248c)
drivers/net/wireless/bcmdhd/dhd_linux.c