From: Daniel Drake Date: Tue, 11 Sep 2012 15:38:11 +0000 (-0400) Subject: libertas: set mac control synchronously during init X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~163^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=871fc09f1c8a9c0652afa7c673ae401fdb3f4aeb;p=pandora-kernel.git libertas: set mac control synchronously during init CMD_MAC_CONTROL is currently sent async to the firmware, and is sent from the lbs_setup_firmware() path during device init. This means that device init can complete with commands pending, and the if_sdio driver will sometimes power down the device (after init) with this command still pending. This was causing an occasional spurious command timeout after init, leading to a device reset. Fix this by making CMD_MAC_CONTROL synchronous when called from the lbs_setup_firmware() path. Signed-off-by: Daniel Drake Signed-off-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed