From patchwork Wed Sep 8 00:06:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vipin Mehta X-Patchwork-Id: 162461 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 o88067N7006515 for ; Wed, 8 Sep 2010 00:06:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752700Ab0IHAGG (ORCPT ); Tue, 7 Sep 2010 20:06:06 -0400 Received: from mail.atheros.com ([12.19.149.2]:17130 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143Ab0IHAGF (ORCPT ); Tue, 7 Sep 2010 20:06:05 -0400 Received: from mail.atheros.com ([10.10.20.105]) by sidewinder.atheros.com for ; Tue, 07 Sep 2010 17:06:00 -0700 Received: from smtp.atheros.com (10.10.16.187) by SC1EXHC-01.global.atheros.com (10.10.20.106) with Microsoft SMTP Server (TLS) id 8.2.213.0; Tue, 7 Sep 2010 17:06:03 -0700 Received: by smtp.atheros.com (sSMTP sendmail emulation); Tue, 07 Sep 2010 17:06:52 -0700 From: Vipin Mehta To: CC: , , , Subject: [PATCH] staging: ath6kl: Fixing a compilation error introduced by commit ec53d6123bea9f69887f194b5d4294a43292120d. Date: Tue, 7 Sep 2010 17:06:50 -0700 Message-ID: <1283904410-32553-1-git-send-email-vmehta@atheros.com> X-Mailer: git-send-email 1.6.3.3 MIME-Version: 1.0 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.3 (demeter1.kernel.org [140.211.167.41]); Wed, 08 Sep 2010 00:06:08 +0000 (UTC) diff --git a/drivers/staging/ath6kl/os/linux/ioctl.c b/drivers/staging/ath6kl/os/linux/ioctl.c index 8ed87e7..d5f7ac0 100644 --- a/drivers/staging/ath6kl/os/linux/ioctl.c +++ b/drivers/staging/ath6kl/os/linux/ioctl.c @@ -2713,7 +2713,7 @@ int ar6000_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) break; } - if (get_user(cmd.ieType, userdata)) + if (get_user(cmd.ieType, userdata)) { ret = -EFAULT; break; }