From: Steve Brown Date: Wed, 19 Jan 2011 06:58:54 -0500 Subject: [ath9k-devel] Why 2 beacon_interval variables? In-Reply-To: References: <1295378772.9082.15.camel@mythtv.ewol.com> Message-ID: <1295438334.9082.26.camel@mythtv.ewol.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Wed, 2011-01-19 at 12:06 +0530, Mohammed Shafi wrote: > On Wed, Jan 19, 2011 at 12:56 AM, Steve Brown wrote: > > I'm looking at the issue of beacons with different intervals. > > > > There is a beacon_interval in struct ath_softc as well as one in struct > > ath_beacon_config which is also part of ath_softc. > > > > Are both needed? > > sc->beacon_interval is updated in ath9k_bss_info_changed function of main.c. > Need to dig deep to rule it out as redundant(though it appears like that). > any issues because of this? > Please see this commit id 57c4d7b4c4986037be51476b8e3025d5ba18d8b8 > > > > > Steve > > Thanks for the reference. The beacon_interval in that commit looks redundant to me too. It turned up while I was testing some code for beacons at different intervals. It's simpler if there is just beacon_interval. I'll look closer. Steve