brcmfmac: verify result of brcmf_sdio_addrprep() calls
authorArend van Spriel <arend@broadcom.com>
Tue, 15 Oct 2013 13:44:53 +0000 (15:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:06:57 +0000 (14:06 -0400)
commitfcaac2b12e275e9e6d3aa476824291a298c938db
tree3c46003c26f00ff5633f79317278bac0cb22deab
parent4aef267e24b89baedfd3e01c38bafc47aa976946
brcmfmac: verify result of brcmf_sdio_addrprep() calls

Not all calls to the function brcmf_sdio_addrprep() check
the return value, but it may fail so better verify it.

Reviewed-by: Franky Lin <frankyl@broadcom.com>
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>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c