brcmfmac: fix potential NULL pointer dereference in brcmf_fws_flow_control_check()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 19 Apr 2013 02:14:31 +0000 (10:14 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:25 +0000 (15:20 -0400)
The dereference to 'ifp' in debug code should be moved below the NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found