Re: [PATCH 07/25] mwifiex: don't use [delayed_]work_pending()

2012-12-28 Thread Tejun Heo
On Sat, Dec 22, 2012 at 02:29:57PM -0800, Bing Zhao wrote: > Hi Tejun, > > Thanks for the patch. > > > Drop work_pending() test from mwifiex_sdio_card_reset(). As > > work_pending() becomes %false before sdio_card_reset_worker() starts > > executing, it doesn't really protect anything. reset_ho

RE: [PATCH 07/25] mwifiex: don't use [delayed_]work_pending()

2012-12-22 Thread Bing Zhao
Hi Tejun, Thanks for the patch. > Drop work_pending() test from mwifiex_sdio_card_reset(). As > work_pending() becomes %false before sdio_card_reset_worker() starts > executing, it doesn't really protect anything. reset_host may change > between mmc_remove_host() and mmc_add_host(). Make > sdi