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)
committerOm Prakash Singh <omp@nvidia.com>
Fri, 15 Jun 2012 08:45:13 +0000 (13:45 +0530)
commit9053d7de1602c2f3bedee02fe49274dc5ecd23ba
treeeb08ca1398c1480db1477af5c623fbcd969b0e39
parent1534f1150e79d34315fbb3dff91bbf496d8d1483
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