[lkml]   [2010]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[patch 009/149] staging: vt6655: Fix kernel BUG on driver wpa initialization
2.6.32-stable review patch.  If anyone has any objections, please let us know.


From: Larry Finger <>

commit f65515275ea3e45fdcd0fb78455f542d6fdca086 upstream.

In, the vt6655 driver
generates a kernel BUG on a NULL pointer dereference at NULL. This problem
has been traced to a failure in the wpa_set_wpadev() routine. As the vt6656
driver does not call this routine, the vt6655 code is similarly set to skip
the call.

Signed-off-by: Larry Finger <>
Tested-by: Richard Meek <>
Signed-off-by: Greg Kroah-Hartman <>

drivers/staging/vt6655/device_main.c | 2 ++
1 file changed, 2 insertions(+)

--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -1089,11 +1089,13 @@ device_found1(struct pci_dev *pcid, cons
//2008-07-21-01<Add>by MikeLiu
//register wpadev
+#if 0
if(wpa_set_wpadev(pDevice, 1)!=0) {
printk("Fail to Register WPADEV?\n");
pci_set_drvdata(pcid, pDevice);
return 0;

 \ /
  Last update: 2010-07-01 20:57    [W:1.122 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site