Is the staging driver update from lkml relevent here:
2.6.31-stable review patch. If anyone has any objections, please let us know.
------------------ From: Darren Salt <email address hidden>
commit 0af49167b1e5ba154e90d2c454bf4624ee47df80 upstream.
This fixes a panic which is triggered when the hardware "disappears" from beneath the driver, i.e. when wireless is toggled off via Fn-F2 on various EeePC models.
Ref. bug report http://bugzilla.kernel.org/show_bug.cgi?id=13390 panic http://bugzilla.kernel.org/attachment.cgi?id=21928
Signed-off-by: Darren Salt <email address hidden> Signed-off-by: Greg Kroah-Hartman <email address hidden>
--- drivers/staging/rt2860/common/cmm_data_2860.c | 2 ++ 1 file changed, 2 insertions(+)
--- a/drivers/staging/rt2860/common/cmm_data_2860.c +++ b/drivers/staging/rt2860/common/cmm_data_2860.c @@ -363,6 +363,8 @@ int RtmpPCIMgmtKickOut( ULONG SwIdx = pAd->MgmtRing.TxCpuIdx;
pTxD = (PTXD_STRUC) pAd->MgmtRing.Cell[SwIdx].AllocVa; + if (!pTxD) + return 0;
pAd->MgmtRing.Cell[SwIdx].pNdisPacket = pPacket; pAd->MgmtRing.Cell[SwIdx].pNextNdisPacket = NULL;
Is the staging driver update from lkml relevent here:
2.6.31-stable review patch. If anyone has any objections, please let us know.
------------------
From: Darren Salt <email address hidden>
commit 0af49167b1e5ba1 54e90d2c454bf46 24ee47df80 upstream.
This fixes a panic which is triggered when the hardware "disappears" from
beneath the driver, i.e. when wireless is toggled off via Fn-F2 on various
EeePC models.
Ref. bug report http:// bugzilla. kernel. org/show_ bug.cgi? id=13390 bugzilla. kernel. org/attachment. cgi?id= 21928
panic http://
Signed-off-by: Darren Salt <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
--- staging/ rt2860/ common/ cmm_data_ 2860.c | 2 ++
drivers/
1 file changed, 2 insertions(+)
--- a/drivers/ staging/ rt2860/ common/ cmm_data_ 2860.c staging/ rt2860/ common/ cmm_data_ 2860.c TxCpuIdx;
+++ b/drivers/
@@ -363,6 +363,8 @@ int RtmpPCIMgmtKickOut(
ULONG SwIdx = pAd->MgmtRing.
pTxD = (PTXD_STRUC) pAd->MgmtRing. Cell[SwIdx] .AllocVa;
+ if (!pTxD)
+ return 0;
pAd-> MgmtRing. Cell[SwIdx] .pNdisPacket = pPacket; MgmtRing. Cell[SwIdx] .pNextNdisPacke t = NULL;
pAd->