commit | 643ecaab355c3879215cb34c10ae88d729e408be | [log] [tgz] |
---|---|---|
author | Hante Meuleman <meuleman@broadcom.com> | Fri Feb 08 12:06:32 2013 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Feb 08 14:51:36 2013 -0500 |
tree | b51f3fb0ad1f993cae5f404a40901660114ff2b0 | |
parent | 2880b86859967af710c72f7d34fb421a86a71e22 [diff] |
brcmfmac: Check null pointer on brcmf_dev_reset. When unloading it is possible that drvr is not null, but iflist[0] is. So check iflist[0] pointer before using it. Reviewed-by: Arend Van Spriel <arend@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Piotr Haber <phaber@broadcom.com> Signed-off-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>