From patchwork Wed Sep 2 10:20:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Natarajan X-Patchwork-Id: 45171 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 n82AKnmE031056 for ; Wed, 2 Sep 2009 10:20:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751073AbZIBKUn (ORCPT ); Wed, 2 Sep 2009 06:20:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751151AbZIBKUn (ORCPT ); Wed, 2 Sep 2009 06:20:43 -0400 Received: from mail-yw0-f188.google.com ([209.85.211.188]:48648 "EHLO mail-yw0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbZIBKUn (ORCPT ); Wed, 2 Sep 2009 06:20:43 -0400 Received: by ywh26 with SMTP id 26so1083565ywh.5 for ; Wed, 02 Sep 2009 03:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=K7htls6kF6V2xTSZOlkdLKHoHXitl0gDTNPdXykckzM=; b=nYh0KAkttJ8r+etp4BaeEhvzOcu1RolmBDmCDhC7ASNoZNL49uMLjmypb3jXvj4Fza yDYFymMhkkPZknG5F4iRI5ztVIvzCC3vpLe/3C3Y6sgv0iQubzx9Mc52VMmOe/KFC2G/ +fhgvU0rwwHVIRhgVfNJua2FTEYwYag7LQYVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=HBf3L9TmalrGdqTm72/yc1ZKz3zRfILou1IekDGXZgUxYlWMjWezKkhm/zk1w2BpU/ ZoB23A9J+bIOBSVHzvQHDOK6t+7ld/PmXUMebl14uCO7beA0cuThdFHYQyISuIGIRGx/ 5nj3DyO2RTihMcXjmmoaadQvsF2Er45sJKY5M= Received: by 10.90.58.2 with SMTP id g2mr5964704aga.73.1251886844086; Wed, 02 Sep 2009 03:20:44 -0700 (PDT) Received: from myhost.users.atheros.com ([124.30.92.178]) by mx.google.com with ESMTPS id 9sm2198938agb.69.2009.09.02.03.20.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 03:20:43 -0700 (PDT) Date: Wed, 2 Sep 2009 15:50:55 +0530 From: Vivek Natarajan To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org Subject: [PATCH] ath9k: Reconfigure beacon timers after the scan is completed. Message-ID: <20090902102055.GA3075@myhost.users.atheros.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Vivek Natarajan --- drivers/net/wireless/ath/ath9k/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index efee193..c2efdf2 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -2773,6 +2773,7 @@ static void ath9k_sw_scan_complete(struct ieee80211_hw *hw) sc->sc_flags &= ~SC_OP_SCANNING; sc->sc_flags |= SC_OP_FULL_RESET; spin_unlock_bh(&sc->ani_lock); + ath_beacon_config(sc, NULL); mutex_unlock(&sc->mutex); }