From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:53493 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752898Ab1DOGY1 (ORCPT ); Fri, 15 Apr 2011 02:24:27 -0400 Received: by pvg12 with SMTP id 12so921296pvg.19 for ; Thu, 14 Apr 2011 23:24:26 -0700 (PDT) From: Sujith MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <19879.58665.384023.340355@gargle.gargle.HOWL> Date: Fri, 15 Apr 2011 11:56:49 +0530 To: Rajkumar Manoharan Cc: , Subject: [PATCH 1/2] ath9k_htc: Add debugfs support to change debug mask In-Reply-To: <1302848033-7072-1-git-send-email-rmanoharan@atheros.com> References: <1302848033-7072-1-git-send-email-rmanoharan@atheros.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Rajkumar Manoharan wrote: > + priv->debug.debugfs_debug = debugfs_create_file("debug", S_IRUSR, > + priv->debug.debugfs_phy, > + priv, &fops_debug); > + if (!priv->debug.debugfs_debug) > + goto err; > + S_IWUSR ? Sujith