From linux-kernel@vger.kernel.org Sun Dec 28 14:33:44 2003 Date: Sun, 07 Dec 2003 18:27:17 +0000 From: Linux Kernel Mailing List To: bk-commits-24@vger.kernel.org Subject: [wireless airo] Delay MIC activation to prevent Oops ChangeSet 1.1136.73.7, 2003/12/07 13:27:17-05:00, achirica@telefonica.net [wireless airo] Delay MIC activation to prevent Oops # This patch includes the following deltas: # ChangeSet 1.1136.73.6 -> 1.1136.73.7 # drivers/net/wireless/airo.c 1.62 -> 1.63 # airo.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff -ruN linux-2.4.23.mine/drivers/net/wireless/airo.c linux-2.4.23/drivers/net/wireless/airo.c --- linux-2.4.23.mine/drivers/net/wireless/airo.c 2003-11-28 11:26:20.000000000 -0700 +++ linux-2.4.23/drivers/net/wireless/airo.c 2003-12-28 22:30:56.064562029 -0700 @@ -2476,11 +2476,8 @@ OUT4500( apriv, EVACK, EV_MIC ); #ifdef MICSUPPORT if (test_bit(FLAG_MIC_CAPABLE, &apriv->flags)) { - if (down_trylock(&apriv->sem) != 0) { - set_bit(JOB_MIC, &apriv->flags); - wake_up_interruptible(&apriv->thr_wait); - } else - micinit (apriv); + set_bit(JOB_MIC, &apriv->flags); + wake_up_interruptible(&apriv->thr_wait); } #endif }