From patchwork Mon Jul 19 18:44:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gnedt X-Patchwork-Id: 112769 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6JJB1b1008180 for ; Mon, 19 Jul 2010 19:11:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965227Ab0GSTKv (ORCPT ); Mon, 19 Jul 2010 15:10:51 -0400 Received: from mail.platinumzone24.at ([88.198.159.93]:41899 "EHLO mail.platinumzone24.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933436Ab0GSTKv (ORCPT ); Mon, 19 Jul 2010 15:10:51 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 19 Jul 2010 19:11:01 +0000 (UTC) X-Greylist: delayed 1737 seconds by postgrey-1.27 at vger.kernel.org; Mon, 19 Jul 2010 15:10:50 EDT Received: from localhost (localhost [127.0.0.1]) by mail.platinumzone24.at (Postfix) with ESMTP id 8687985003E; Mon, 19 Jul 2010 20:44:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at platinumzone24.at Received: from mail.platinumzone24.at ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V6+Vxwa8zl38; Mon, 19 Jul 2010 20:44:05 +0200 (CEST) Received: from [192.168.10.2] (91-115-103-78.adsl.highway.telekom.at [91.115.103.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: david.gnedt@platinumzone24.at) by mail.platinumzone24.at (Postfix) with ESMTP id BB04085003B; Mon, 19 Jul 2010 20:44:05 +0200 (CEST) Message-ID: <4C449CF2.7090800@davizone.at> Date: Mon, 19 Jul 2010 20:44:02 +0200 From: David Gnedt User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Thunderbird/3.0.5 MIME-Version: 1.0 To: "John W. Linville" CC: linux-wireless@vger.kernel.org, Johannes Berg Subject: [PATCH] mac80211: set carrier on for monitor interfaces on ieee80211_open Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 910729f..d07d223 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -249,6 +249,8 @@ static int ieee80211_open(struct net_device *dev) local->fif_other_bss++; ieee80211_configure_filter(local); + + netif_carrier_on(dev); break; default: res = drv_add_interface(local, &sdata->vif);