Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:53806 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753398Ab2KIPuE (ORCPT ); Fri, 9 Nov 2012 10:50:04 -0500 Message-ID: <1352476239.9238.11.camel@jlt4.sipsolutions.net> (sfid-20121109_165009_493674_2D7B3C63) Subject: Re: [PATCH] iw: print the ssid when requesting device info From: Johannes Berg To: Antonio Quartulli Cc: linux-wireless@vger.kernel.org Date: Fri, 09 Nov 2012 16:50:39 +0100 In-Reply-To: <1352476116.9238.10.camel@jlt4.sipsolutions.net> (sfid-20121109_164806_024310_85E52F7A) References: <1352468278-30931-1-git-send-email-ordex@autistici.org> <1352476116.9238.10.camel@jlt4.sipsolutions.net> (sfid-20121109_164806_024310_85E52F7A) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, 2012-11-09 at 16:48 +0100, Johannes Berg wrote: > On Fri, 2012-11-09 at 14:37 +0100, Antonio Quartulli wrote: > > The GET_INTERFACE command receives also the ssid as part of the reply. > > This patch makes iw print the ssid together with the other information > > when issuing the "iw dev $vif info" command. > > Applied. Huh, no, I take that back. What are you doing, printing an SSID as though it was a string?! There's print_ssid_escaped() for a reason. johannes