From owner-freebsd-wireless@FreeBSD.ORG Sat Nov 2 17:00:54 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AF08AD33 for ; Sat, 2 Nov 2013 17:00:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6BC2E2E5C for ; Sat, 2 Nov 2013 17:00:54 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id n9so3127573qcw.15 for ; Sat, 02 Nov 2013 10:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=H6wOC4SxCkHWLgae1OWfy5GBHUIrh58KyBSdxj5WSDM=; b=L3PGi/EqR4yM5g3qYWIhmidS/tUDnTtg7q4M+r+EO/7lV5n/6xbker5x24Os3cst95 l+UGBNlqw6qniJQjETOI4azZoQiMJfvkaMfACkcu2MbGoh24Ni+O6r26mjUVTQx0iyoO it711umv/g+roHpKKL9sXjQ58IHW4I3sRlNMxcvYifD0GqIZM90gPqgDHPVwPhCvsumD BNGO/iWLYbzeip/5Q43RAIC9JXLcZ65tRIlR9bCGHBZEzDFRmXzf1EwPw1TK4LN7sS6D 4oyS/LKh8qsSVlop25mNzV5QSPTHUzLaqAzSJOeEBVLsQY1HPpYFscEGW9IhcgVwWhet GbqQ== MIME-Version: 1.0 X-Received: by 10.49.127.179 with SMTP id nh19mr11373529qeb.1.1383411653547; Sat, 02 Nov 2013 10:00:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Sat, 2 Nov 2013 10:00:53 -0700 (PDT) In-Reply-To: References: <1382572583.1862.39.camel@eva02.mbsd> <1382589020.1846.36.camel@eva02.mbsd> <1383331203.12614.1.camel@eva02.mbsd> <1383336004.13657.18.camel@eva02.mbsd> <1383338117.13657.53.camel@eva02.mbsd> <1383382815.31973.1.camel@eva02.mbsd> Date: Sat, 2 Nov 2013 10:00:53 -0700 X-Google-Sender-Auth: sptb0hqmjX7E5JdMXxgTbVkBjjQ Message-ID: Subject: Re: service netif restart [iface] runs a wpa_supplicant twice From: Adrian Chadd To: Bernhard Schmidt Content-Type: text/plain; charset=ISO-8859-1 Cc: clutton , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 17:00:54 -0000 right, this makes it clearer. What about: * the wpa_supplicant rc script only starts/stops one wpa_supplicant instance * upon ethernet / wlan clone creation, use interface_add to add the interface to wpa_supplicant * upon ethernet / wlan clone destruction, use interface_remove how's that sound? -adrian