From patchwork Thu Oct 1 04:32:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malte Gell X-Patchwork-Id: 50814 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n914WNrD012887 for ; Thu, 1 Oct 2009 04:32:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750940AbZJAEcR (ORCPT ); Thu, 1 Oct 2009 00:32:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750981AbZJAEcR (ORCPT ); Thu, 1 Oct 2009 00:32:17 -0400 Received: from mail.gmx.net ([213.165.64.20]:45381 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750869AbZJAEcR (ORCPT ); Thu, 1 Oct 2009 00:32:17 -0400 Received: (qmail invoked by alias); 01 Oct 2009 04:32:19 -0000 Received: from HSI-KBW-078-042-032-030.hsi3.kabel-badenwuerttemberg.de (EHLO linux-61r3.localnet) [78.42.32.30] by mail.gmx.net (mp069) with SMTP; 01 Oct 2009 06:32:19 +0200 X-Authenticated: #20234266 X-Provags-ID: V01U2FsdGVkX1+c5rwpDqGc7uCjBKP4/9fJE/44XZOJJCSub1Z/uB C/nWD6CeZW/XPX From: Malte Gell To: linux-wireless@vger.kernel.org Subject: PATCH ar9170usb LEDs are confused Date: Thu, 1 Oct 2009 06:32:12 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.31-44-pae-k7; KDE/4.3.1; i686; ; ) MIME-Version: 1.0 Message-Id: <200910010632.12571.malte.gell@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.7 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --- drivers/net/wireless/ath/ar9170/led_c_orig 2009-10-01 05:55:55.000000000 +0200 +++ drivers/net/wireless/ath/ar9170/led.c 2009-10-01 06:02:26.000000000 +0200 @@ -161,13 +161,13 @@ INIT_DELAYED_WORK(&ar->led_work, ar9170_update_leds); - err = ar9170_register_led(ar, 0, "tx", - ieee80211_get_tx_led_name(ar->hw)); + err = ar9170_register_led(ar, 0, "assoc", + ieee80211_get_assoc_led_name(ar->hw)); if (err) goto fail; - err = ar9170_register_led(ar, 1, "assoc", - ieee80211_get_assoc_led_name(ar->hw)); + err = ar9170_register_led(ar, 1, "tx", + ieee80211_get_tx_led_name(ar->hw)); if (err) goto fail;