brcmsmac: don't start device when RfKill is engaged
authorPiotr Haber <phaber@broadcom.com>
Wed, 19 Sep 2012 20:21:15 +0000 (22:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Sep 2012 19:02:06 +0000 (15:02 -0400)
commit82d8eba358badb466a4e988ecabf0668a8d92e9c
tree105d6856186d027017a454ddb27cae73bdcf9ee0
parent816432922bbbf67dec511711158738bfdaccb2e9
brcmsmac: don't start device when RfKill is engaged

This patch fixes a bug when device is being started
while RfKill switch is engaged, leading to hang
due to partial initialization of hardware.

Tested-by: <dragonn@op.pl>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c