[PATCH] libertas: fixed kernel oops on module/card removal
Dan Williams
dcbw at redhat.com
Sat Mar 17 00:57:33 EDT 2007
On Tue, 2007-03-13 at 17:31 -0700, Luis Carlos Cobo Rus wrote:
> fixed kernel oops on module/card removal (using dongles)
> added URB debug info
Applied.
> Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
> ---
> drivers/net/wireless/libertas/if_usb.c | 2 +-
> drivers/net/wireless/libertas/main.c | 1 -
> 2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/libertas/if_usb.c
> b/drivers/net/wireless/libertas/if_usb.c
> index 95c7782..2c55171 100644
> --- a/drivers/net/wireless/libertas/if_usb.c
> +++ b/drivers/net/wireless/libertas/if_usb.c
> @@ -49,7 +49,7 @@ static void if_usb_write_bulk_callback(s
>
> if (urb->status != 0) {
> /* print the failure status number for debug */
> - lbs_pr_info("URB in failure status\n");
> + lbs_pr_info("URB in failure status: %d\n", urb->status);
> } else {
> /*
> lbs_deb_usbd(&urb->dev->dev, "URB status is successfull\n");
> diff --git a/drivers/net/wireless/libertas/main.c
> b/drivers/net/wireless/libertas/main.c
> index cf36012..a691f35 100644
> --- a/drivers/net/wireless/libertas/main.c
> +++ b/drivers/net/wireless/libertas/main.c
> @@ -313,7 +313,6 @@ static int wlan_dev_close(struct net_dev
> lbs_deb_enter(LBS_DEB_NET);
>
> netif_carrier_off(priv->wlan_dev.netdev);
> - netif_carrier_off(priv->mesh_dev);
> priv->open = 0;
>
> lbs_deb_leave(LBS_DEB_NET);
> --
> 1.4.3
More information about the libertas-dev
mailing list