The following patch should resolve LP Bug 263309 - oops on plugging in
DWL-122. The patch has already been applied to the upstream
linux-wlan-ng git tree. Additionally, one of the subscribers to the bug
report has tested and confirmed this patch to resolve the Oops:
DBFENTER;
-
+/* alloc_netdev already sets up the name */
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) )
+ i = register_netdev(dev);
+ if (i)
+ return i;
+#else
i = dev_alloc_name(wlandev->netdev, "wlan%d");
if (i >= 0) {
i = register_netdev(wlandev->netdev);
@@ -1058,6 +1079,8 @@ int register_wlandev(wlandevice_t *wlandev)
#else
strcpy(wlandev->name, dev->name);
#endif
+#endif
+
#ifdef CONFIG_PROC_FS
if (proc_p80211) {
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
10-09-2008, 02:57 AM
Tim Gardner
LP Bug 263309 - oops on plugging in DWL-122
Leann Ogasawara wrote:
pulled
Since you're going to all of this work (which is much appreciated), why
not apply these patches to your own git tree on kernel.ubuntu.com and
just submit a pull request?
rtg
--
Tim Gardner tim.gardner@canonical.com
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
10-09-2008, 06:44 AM
Leann Ogasawara
LP Bug 263309 - oops on plugging in DWL-122
On Wed, 2008-10-08 at 20:57 -0600, Tim Gardner wrote:
> Leann Ogasawara wrote:
>
> pulled
>
> Since you're going to all of this work (which is much appreciated), why
> not apply these patches to your own git tree on kernel.ubuntu.com and
> just submit a pull request?
I was actually thinking the same thing after starting to send them out.
I'll start doing this for future ones.
Thanks,
Leann
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team