From patchwork Tue Nov 13 17:28:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Mikityanskiy X-Patchwork-Id: 1735731 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 865613FC64 for ; Tue, 13 Nov 2012 17:29:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755388Ab2KMR27 (ORCPT ); Tue, 13 Nov 2012 12:28:59 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:54986 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755368Ab2KMR24 (ORCPT ); Tue, 13 Nov 2012 12:28:56 -0500 Received: by mail-ee0-f46.google.com with SMTP id b15so4133183eek.19 for ; Tue, 13 Nov 2012 09:28:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=29Z9xVxYdCmix5CE8bSn0j5U6IXxGcaJ4FuSGdEcDEw=; b=DRP5ziyDV6XH+SWU2GckvbWHP2oyPwAdXiJiCWvWbZ3fYvF6RwEDy81atVTBON70QF 9kNG3iOvA4DoZcuQqfuqUGVpJblYw/e1QU8gaDm5OJ6/cNl2O83CxE0Y61OHmzerj6ca 29KOJg5XiY6IZH8M2nbD5wcq77SA3htJaOieTYxomfQb5VfHtoJVP3440/xJQH3meWM+ HNkWvL2qfvrKn6n7XYYX21WPihXc+OA4qYJ5YoN5tKF+8FScJk30IsQUxa36NhrOyB9s s78Po++N12XWhrUp5nuwfIQ29hzauWM9KUmUL82eK7KseJoufZowlkGCG/py/tLcmcva e1rg== Received: by 10.14.203.69 with SMTP id e45mr76731938eeo.38.1352827735987; Tue, 13 Nov 2012 09:28:55 -0800 (PST) Received: from laptop.olymp.linuxd.org (78-22-179-94.pool.ukrtel.net. [94.179.22.78]) by mx.google.com with ESMTPS id 42sm23845800eee.0.2012.11.13.09.28.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 09:28:55 -0800 (PST) From: Maxim Mikityanskiy To: greg@kroah.com, Larry.Finger@lwfinger.net, linux-wireless@vger.kernel.org Cc: Maxim Mikityanskiy Subject: [PATCH 04/17] staging: rtl8187se: Fixed bugs in interrupt handler Date: Tue, 13 Nov 2012 19:28:10 +0200 Message-Id: <1352827703-4659-5-git-send-email-maxtram95@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1352827703-4659-1-git-send-email-maxtram95@gmail.com> References: <1352827703-4659-1-git-send-email-maxtram95@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixed typo in rtl8180_interrupt() and added missing line Signed-off-by: Maxim Mikityanskiy --- drivers/staging/rtl8187se/r8180_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index 1a76cc9..6ec3a93 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/r8180_core.c @@ -3787,7 +3787,7 @@ irqreturn_t rtl8180_interrupt(int irq, void *netdev, struct pt_regs *regs) priv->stats.txbkperr++; priv->ieee80211->stats.tx_errors++; rtl8180_tx_isr(dev, BK_PRIORITY, 1); - rtl8180_try_wake_queue(dev, BE_PRIORITY); + rtl8180_try_wake_queue(dev, BK_PRIORITY); } if (inta & ISR_TBEDER) { /* corresponding to BE_PRIORITY */ @@ -3841,6 +3841,7 @@ irqreturn_t rtl8180_interrupt(int irq, void *netdev, struct pt_regs *regs) priv->link_detect.NumTxOkInPeriod++; /* YJ,add,080828 */ priv->stats.txnpokint++; rtl8180_tx_isr(dev, NORM_PRIORITY, 0); + rtl8180_try_wake_queue(dev, NORM_PRIORITY); } if (inta & ISR_TLPDOK) { /* Low priority tx ok */