On Thu, 2016-09-22 at 14:46 +0300, Binyamin Sharet wrote:
> > -- Binyamin
>
> I compiled the kernel without BPF and still got an issue (attached)
> How can I verify the BPF is not enabled/part of the kernel?
>
> -- Binyamin
Could you test the attached patch?
Regards
Oliver
From e0f6d09babd9f30d952389ff98a2a25df9a158a5 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <[email protected]>
Date: Thu, 22 Sep 2016 16:22:06 +0200
Subject: [PATCH] vt6656: avoid double free
This data structure is fred in disconnect(). It must not
be freed earlier.
Signed-off-by: Oliver Neukum <[email protected]>
---
drivers/staging/vt6656/wcmd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c
index 95faaeb..17f2723 100644
--- a/drivers/staging/vt6656/wcmd.c
+++ b/drivers/staging/vt6656/wcmd.c
@@ -110,7 +110,6 @@ void vnt_run_command(struct work_struct *work)
if (vnt_init(priv)) {
/* If fail all ends TODO retry */
dev_err(&priv->usb->dev, "failed to start\n");
- ieee80211_free_hw(priv->hw);
return;
}
--
2.6.2