linux_old1/drivers/net/wireless/brcm80211
Hans de Goede ffa216bb5e brcmfmac: Fix brcmf_chip_ai_coredisable not applying reset bits to BCMA_IOCTL
brcmfmac has been broken on my cubietruck with a BCM43362:

brcmfmac: brcmf_chip_recognition: found AXI chip: BCM43362, rev=1
brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0:
        Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d

since commit 53036261033: "brcmfmac: update core reset and disable routines".

The problem is that since this commit brcmf_chip_ai_resetcore no longer sets
BCMA_IOCTL itself before bringing the core out of reset, instead relying on
brcmf_chip_ai_coredisable to do so. But brcmf_chip_ai_coredisable is a nop
of the chip is already in reset. This patch modifies brcmf_chip_ai_coredisable
to always set BCMA_IOCTL even if the core is already in reset.

This fixes brcmfmac hanging in firmware loading on my board.

Cc: stable@vger.kernel.org # v3.14
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-04-24 21:46:22 -04:00
..
brcmfmac brcmfmac: Fix brcmf_chip_ai_coredisable not applying reset bits to BCMA_IOCTL 2014-04-24 21:46:22 -04:00
brcmsmac brcmsmac: update comment to reflect the code 2014-03-14 14:49:15 -04:00
brcmutil brcmutil: simplify brcmu_pkt_free_skb() 2013-04-22 15:20:21 -04:00
include brcmfmac: use mfp if required from user-space 2014-03-27 14:20:06 -04:00
Kconfig Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-12-06 09:50:45 -05:00
Makefile brcm80211: Use normal DEBUG define 2012-01-24 14:21:13 -05:00