Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:49996 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752569Ab2EaFnK (ORCPT ); Thu, 31 May 2012 01:43:10 -0400 From: Sujith Manoharan MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: <20423.1188.258292.959073@gargle.gargle.HOWL> (sfid-20120531_074320_224930_6C959345) Date: Thu, 31 May 2012 11:11:56 +0530 To: Mohammed Shafi Shajakhan CC: Sujith Manoharan , "John W. Linville" , , , Rodriguez Luis , Subject: Re: [ath9k-devel] [RFC] ath9k: Fix softlockup in AR9485 In-Reply-To: <4FC702E4.9000906@qca.qualcomm.com> References: <1338394222-10274-1-git-send-email-mohammed@qca.qualcomm.com> <20422.56106.127697.13731@gargle.gargle.HOWL> <4FC702E4.9000906@qca.qualcomm.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Mohammed Shafi Shajakhan wrote: > should we check if (work_pending(&sc->hw_reset_work)) like we do in > ath_beacon_tasklet in all the other work routine that access hardware > registers in case the hw_reset_work is not cancelled(possible in > ath_set_channel) Probably, but this needs to be done in a clean manner. > don't know, i put a printk to see the routine seems to get executed for > every 200ms(HZ/5). scan work in mac80211 seems to use HZ > ieee80211_queue_delayed_work(&local->hw, &local->scan_work, next_delay); HZ can be configured to a user-defined value, so we need to make sure that the timing for the PLL work is what we want. Sujith