Return-path: Received: from s3.sipsolutions.net ([144.76.43.152]:41217 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753675Ab3LPMxu (ORCPT ); Mon, 16 Dec 2013 07:53:50 -0500 Message-ID: <1387198425.4665.28.camel@jlt4.sipsolutions.net> (sfid-20131216_135353_726110_E7D17A88) Subject: Re: [PATCH 1/3] mac80211_hwsim: fix duplicate beacons on TSF adjust From: Johannes Berg To: Thomas Pedersen Cc: open80211s , linux-wireless , Thomas Pedersen Date: Mon, 16 Dec 2013 13:53:45 +0100 In-Reply-To: <1387142056-21850-1-git-send-email-twpedersen@gmail.com> (sfid-20131215_221521_503492_4ACF474E) References: <1387142056-21850-1-git-send-email-twpedersen@gmail.com> (sfid-20131215_221521_503492_4ACF474E) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, 2013-12-15 at 13:14 -0800, Thomas Pedersen wrote: > From: Thomas Pedersen > > There was some bug when rescheduling the next beacon from > the beacon tasklet after adjusting TSF which would cause > the beacon timer to trigger twice. Beaconing at "old" TBT > (previously scheduled interface TBTT) with new timestamp > was incorrect anyway. > > Instead, reschedule the beacon straight away when > adjusting TSF. Applied. johannes