OSDN Git Service

net: wireless: bcmdhd: Fix driver hang when resetting
authorMike J. Chen <mjchen@google.com>
Thu, 16 Feb 2012 05:54:57 +0000 (21:54 -0800)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 23 Feb 2012 21:18:39 +0000 (13:18 -0800)
commitbfebf726b0e0fd4a26096f9d7ddea8603aeaeac8
tree3b327e3f53eafe8161d7b6afc630523d46368c96
parent4d6f3d7209ffa828fad5d5495c1eb8c571d308ad
net: wireless: bcmdhd: Fix driver hang when resetting

bus->tx_max was not being initialized when we do a reset and
the driver is statically linked.  this led to about a 50%
chance that it would be considered an illegal value when
we send the mac address to the FW.  add code to initialize
it to a safe value until we receive the right value from the fw.

Bug: 5974574

Change-Id: I28ab25d97203ef075e5354c25f85a25daaff5594
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd_sdio.c