From patchwork Fri Aug 21 20:53:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Albert X-Patchwork-Id: 43222 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 n7LKrgr3002581 for ; Fri, 21 Aug 2009 20:53:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932608AbZHUUxi (ORCPT ); Fri, 21 Aug 2009 16:53:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932602AbZHUUxi (ORCPT ); Fri, 21 Aug 2009 16:53:38 -0400 Received: from mail.gmx.net ([213.165.64.20]:58694 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932318AbZHUUxh (ORCPT ); Fri, 21 Aug 2009 16:53:37 -0400 Received: (qmail invoked by alias); 21 Aug 2009 20:53:38 -0000 Received: from f048148007.adsl.alicedsl.de (EHLO [192.168.2.185]) [78.48.148.7] by mail.gmx.net (mp028) with SMTP; 21 Aug 2009 22:53:38 +0200 X-Authenticated: #3800222 X-Provags-ID: V01U2FsdGVkX18HGqgy2fYH9qxWJ3dcANIkLusHERq/TlEDxOyNFY 8EFSVoFPD0OY5+ Message-ID: <4A8F0951.50108@gmx.de> Date: Fri, 21 Aug 2009 22:53:37 +0200 From: Joerg Albert User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: "John W. Linville" CC: "linux-wireless@vger.kernel.org" , Christian Lamparter Subject: [PATCH 2/2 v2] ar9170: remove unnecessary call to ar9170_set_beacon_timers X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Joerg Albert Acked-by: Christian Lamparter --- drivers/net/wireless/ath/ar9170/main.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c index 911e502..5b73194 100644 --- a/drivers/net/wireless/ath/ar9170/main.c +++ b/drivers/net/wireless/ath/ar9170/main.c @@ -2031,12 +2031,6 @@ static int ar9170_op_config(struct ieee80211_hw *hw, u32 changed) goto out; } - if (changed & BSS_CHANGED_BEACON_INT) { - err = ar9170_set_beacon_timers(ar); - if (err) - goto out; - } - if (changed & IEEE80211_CONF_CHANGE_CHANNEL) { /* adjust slot time for 5 GHz */