The patch titled w35und: unregister device from the ieee80211 stack upon ->disconnect() has been removed from the -mm tree. Its filename was w35und-unregister-device-from-the-ieee80211-stack-upon-disconnect.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: w35und: unregister device from the ieee80211 stack upon ->disconnect() From: Pekka Enberg <penberg@xxxxxxxxxxxxxx> Impact: fix module removal This patch fixes an oops when the w35und module is removed from the kernel and added back. Reported-by: luoyi <luoyi.ly@xxxxxxxxx> Tested-by: Sandro Bonazzola <sandro.bonazzola@xxxxxxxxx> Cc: Pavel Machek <pavel@xxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/staging/winbond/wbusb.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -puN drivers/staging/winbond/wbusb.c~w35und-unregister-device-from-the-ieee80211-stack-upon-disconnect drivers/staging/winbond/wbusb.c --- a/drivers/staging/winbond/wbusb.c~w35und-unregister-device-from-the-ieee80211-stack-upon-disconnect +++ a/drivers/staging/winbond/wbusb.c @@ -368,7 +368,7 @@ static int wb35_probe(struct usb_interfa if (err) goto error_free_hw; - usb_set_intfdata(intf, priv); + usb_set_intfdata(intf, dev); return 0; @@ -397,10 +397,15 @@ static void wb35_hw_halt(struct wbsoft_p static void wb35_disconnect(struct usb_interface *intf) { - struct wbsoft_priv *priv = usb_get_intfdata(intf); + struct ieee80211_hw *hw = usb_get_intfdata(intf); + struct wbsoft_priv *priv = hw->priv; wb35_hw_halt(priv); + ieee80211_stop_queues(hw); + ieee80211_unregister_hw(hw); + ieee80211_free_hw(hw); + usb_set_intfdata(intf, NULL); usb_put_dev(interface_to_usbdev(intf)); } _ Patches currently in -mm which might be from penberg@xxxxxxxxxxxxxx are repeatable-slab-corruption-with-ltp-msgctl08.patch linux-next.patch cpusets-restructure-the-function-cpuset_update_task_memory_state.patch cpusets-update-tasks-page-slab-spread-flags-in-time.patch cpusetmm-update-tasks-mems_allowed-in-time.patch slab-leaks3-default-y.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html