From patchwork Mon Mar 7 02:13:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 614141 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 p272DfQm017750 for ; Mon, 7 Mar 2011 02:13:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755164Ab1CGCNY (ORCPT ); Sun, 6 Mar 2011 21:13:24 -0500 Received: from mail-yi0-f46.google.com ([209.85.218.46]:35618 "EHLO mail-yi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755158Ab1CGCNV (ORCPT ); Sun, 6 Mar 2011 21:13:21 -0500 Received: by mail-yi0-f46.google.com with SMTP id 27so1454482yia.19 for ; Sun, 06 Mar 2011 18:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:x-mailer:cc:subject; bh=aT8D3GRjoZ/LhxbSEAjihzmB9sRTco50aTqyHpM7A3o=; b=JqabPz+rfKaylF8FgcUTsIw1/sWBMLqyWqYPadYivMX+nLbshRmoUSsAEKlG8o5j8R mXQBM2SUvxbmqCrSvSqBJuFhIeCl9Y1Tm0B8e8R3IRNgJmGfrM8vH2HDDny1TGOmd77r O0gwBe0YluNv2LV93UyEx3ZnJMrwYPmgeVvss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:x-mailer:cc:subject; b=OxeaewO3OpalUOiepIYY+ufXWcyvU8Kd8BxTZhz25RPzX2H5NeAZiAjnE7oIQ4TCAD hXhPMpUkRoA0nQRxcFqwV+0G93TdDlSQ3+c4Hd5TEttOjlYP2hCOdeydMfqYpojimkQy DSnL6I6aLmcm6vR9ZBWCfBiKkqz7VEiixH3jU= Received: by 10.100.78.5 with SMTP id a5mr1088077anb.222.1299464001640; Sun, 06 Mar 2011 18:13:21 -0800 (PST) Received: from bodhi ([117.197.194.30]) by mx.google.com with ESMTPS id 37sm3083861anr.4.2011.03.06.18.13.19 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Mar 2011 18:13:21 -0800 (PST) From: Sujith MIME-Version: 1.0 Message-ID: <19828.16185.168779.656777@gargle.gargle.HOWL> Date: Mon, 7 Mar 2011 07:43:13 +0530 To: linux-wireless@vger.kernel.org X-Mailer: VM 8.1.1 under 23.2.1 (x86_64-unknown-linux-gnu) CC: ath9k-devel@venema.h4ckr.net Subject: [RFC 06/34] ath9k_htc: Enable AP mode 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]); Mon, 07 Mar 2011 02:13:41 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 19aa26c..f3a2b56 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -750,7 +750,8 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv, hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | - BIT(NL80211_IFTYPE_ADHOC); + BIT(NL80211_IFTYPE_ADHOC) | + BIT(NL80211_IFTYPE_AP); hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;