From patchwork Tue May 10 04:40:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 772642 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4A4ej4v024228 for ; Tue, 10 May 2011 04:40:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751569Ab1EJEkn (ORCPT ); Tue, 10 May 2011 00:40:43 -0400 Received: from emh07.mail.saunalahti.fi ([62.142.5.117]:58927 "EHLO emh07.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751483Ab1EJEkk (ORCPT ); Tue, 10 May 2011 00:40:40 -0400 Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh07-2.mail.saunalahti.fi (Postfix) with SMTP id EB89118CED6; Tue, 10 May 2011 07:40:38 +0300 (EEST) Received: from emh06.mail.saunalahti.fi ([62.142.5.116]) by vs3-10.mail.saunalahti.fi ([62.142.5.94]) with SMTP (gateway) id A009D3E7F9F; Tue, 10 May 2011 07:40:38 +0300 Received: from localhost6.localdomain6 (a88-115-184-248.elisa-laajakaista.fi [88.115.184.248]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id 7C6E2E51A3; Tue, 10 May 2011 07:40:34 +0300 (EEST) Subject: [PATCH 2/2] ath6kl: provide hardware version to userspace To: gregkh@suse.de From: Kalle Valo Cc: devel@linuxdriverproject.org, linux-wireless@vger.kernel.org Date: Tue, 10 May 2011 07:40:34 +0300 Message-ID: <20110510044034.29589.95929.stgit@localhost6.localdomain6> In-Reply-To: <20110510044023.29589.38450.stgit@localhost6.localdomain6> References: <20110510044023.29589.38450.stgit@localhost6.localdomain6> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Antivirus: VAMS Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 10 May 2011 04:40:45 +0000 (UTC) From: Kalle Valo Signed-off-by: Kalle Valo --- drivers/staging/ath6kl/os/linux/ar6000_drv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c index 513f205..48dd9e3 100644 --- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c +++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c @@ -1732,6 +1732,7 @@ ar6000_avail_ev(void *context, void *hif_handle) ar->arVersion.target_ver = targ_info.target_ver; ar->arTargetType = targ_info.target_type; + wdev->wiphy->hw_version = targ_info.target_ver; } r = ar6000_configure_target(ar);