From 2e49f62d66f834db2fb88b8f6efcf766cc50f551 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Thu, 5 Oct 2006 00:41:30 -0400 Subject: [PATCH] [UBUNTU:drivers/usb/net/atmel/at76c503-rfmd.c] Fix ad-hoc mode UpstreamStatus: Ubuntu only Reference: Launchpad bug 57625 This hunk from the 0.13 version of at76c503a is needed for the driver to send and receive packets while in ad-hoc mode. Signed-off-by: Steven --- drivers/usb/net/atmel/at76c503.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/net/atmel/at76c503.c b/drivers/usb/net/atmel/at76c503.c index c86cb6b..924bfaa 100644 --- a/drivers/usb/net/atmel/at76c503.c +++ b/drivers/usb/net/atmel/at76c503.c @@ -2833,6 +2833,7 @@ kevent(void *data) goto end_startibss; } + netif_carrier_on(dev->netdev); netif_start_queue(dev->netdev); } end_startibss: @@ -2884,6 +2885,7 @@ end_startibss: memcpy(dev->bssid, bptr->bssid, ETH_ALEN); dev->channel = bptr->channel; iwevent_bss_connect(dev->netdev,bptr->bssid); + netif_carrier_on(dev->netdev); netif_start_queue(dev->netdev); /* just to be sure */ del_timer_sync(&dev->mgmt_timer); -- 1.4.1