brcmfmac: add valid core index check in related functions
authorFranky Lin <frankyl@broadcom.com>
Wed, 25 Sep 2013 11:05:42 +0000 (13:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Oct 2013 20:24:24 +0000 (16:24 -0400)
commit7434785652457482a4b22c280a83776c3873940d
tree31d662d1677790d22c3114cbd24de04156c24fb1
parentfe0401582ed4f4ba385b191a7aa1d5984fed81ed
brcmfmac: add valid core index check in related functions

Perform a valid check for core index to avoid illegal address access.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@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/sdio_chip.c