From: Hante Meuleman Date: Fri, 6 Mar 2015 17:40:38 +0000 (+0100) Subject: brcmfmac: Fix oops when SDIO device is removed. X-Git-Tag: omap-for-v4.2/o2_dc~131^2~95^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6878c8354d1524940055fe1b802c799f4fc318;p=pandora-kernel.git brcmfmac: Fix oops when SDIO device is removed. On removal of SDIO card both functions of card will be getting a remove call. When the first is hanging in ctrl frame xmit then the second will cause oops. This patch fixes the xmit ctrl handling in case of serious errors and also limits the handling for remove to function 1 only. Reviewed-by: Arend Van Spriel Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Daniel (Deognyoun) Kim Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: Kalle Valo --- Reading git-diff-tree failed