diff options
author | Daniel Drake <dsd@laptop.org> | 2012-09-11 11:38:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-11 15:32:02 -0400 |
commit | 871fc09f1c8a9c0652afa7c673ae401fdb3f4aeb (patch) | |
tree | 2af7fd1880401899d2087cd72884ec2e2d68f1d1 /lib/string_helpers.c | |
parent | 46025f550401c830be9773e14d62b7cab8856216 (diff) | |
download | blackbird-op-linux-871fc09f1c8a9c0652afa7c673ae401fdb3f4aeb.tar.gz blackbird-op-linux-871fc09f1c8a9c0652afa7c673ae401fdb3f4aeb.zip |
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 <dsd@laptop.org>
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions