brcmfmac: bail out of brcmf_txflowblock_if() for non-netdev interface
authorArend van Spriel <arend@broadcom.com>
Mon, 22 Jul 2013 10:46:24 +0000 (12:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:04:09 +0000 (16:04 -0400)
To avoid ending up in a NULL-pointer access, the function
brcmf_txflowblock_if() should only be called for interfaces
that have a netdev associated with it.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found