From patchwork Thu Nov 12 13:15:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz.Dziedzic@tieto.com X-Patchwork-Id: 7602201 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8A85ABF90C for ; Thu, 12 Nov 2015 13:16:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7A3920737 for ; Thu, 12 Nov 2015 13:16:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 007AD20434 for ; Thu, 12 Nov 2015 13:16:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753058AbbKLNQV (ORCPT ); Thu, 12 Nov 2015 08:16:21 -0500 Received: from mail-lb0-f175.google.com ([209.85.217.175]:34400 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752976AbbKLNQR (ORCPT ); Thu, 12 Nov 2015 08:16:17 -0500 Received: by lbbcs9 with SMTP id cs9so34649343lbb.1 for ; Thu, 12 Nov 2015 05:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CFfbYNvZZg2XrcWgdBPWqAZRI19/lvWlc2t/lO20J2E=; b=y4FlPdlwAAdktzmCzu46WqAz4y7ENQlduSpQ7IT1SgIBu+ZEIRaAQyx1/MJXFoGbuj wUAU3PH8IYiIB3ZxyGjyp/PHoGDZQYwA51DT/J39IPr0TKP2/ldSZiC8h9dDKddVfniU hAUfDdKAdLACjKkDRN5xswEKaXt/SmxuTt4G4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CFfbYNvZZg2XrcWgdBPWqAZRI19/lvWlc2t/lO20J2E=; b=PoL5PoiI5HdvmceXL+bxOtj7D/WiMiYS88pz1Wnqi1ayNFBsf/gzBBc8Uf4JTttVAr N9Y+wCZr+pB48cgUEaZ44xf/jlXz10Ocslyy74PVdK4/cfeUj3ZZF3BLM0hLsB7YfEBY tchhqdzzrkmcU1n3C3Fhxe6C7xXb5lAwbUvHhs8mIp0tqrPnAk3vG/FGkWFQpcSARFwa zaageJ5z8fDxbAgoa/dRsWEeimPribzWRjHEq+E0lX5W0o+RfFpqNPM27iFgtiO61hHv GlfSRWByIGAZHefli6nmNDiR5OHbo04o7mZ2ko4sMTdopIDm5NCHNBtS1L2dOZZboUjJ 18JQ== X-Gm-Message-State: ALoCoQmaZagdQrGgdW/jD2OOIG7ziNgO0DQ+IYVmLfFLO4PFPu20GGxS4jiKkQJW+4jUHOY+wTdAQjwP/XmtJeBMOfiwl/FqqvqKA+KG+HB/+wK1j2mHwD0XTXuGdPvxCUTopvl3IYF3DMjBmAMwsvDyRp7eGvqjXHXG6rdrOBJTGfKIJ2Yorfy2bKcLlPeIVQNsoNPSIIQi X-Received: by 10.112.198.234 with SMTP id jf10mr6867909lbc.49.1447334175675; Thu, 12 Nov 2015 05:16:15 -0800 (PST) Received: from localhost.localdomain ([91.198.246.8]) by smtp.gmail.com with ESMTPSA id i7sm2251430lbo.39.2015.11.12.05.16.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Nov 2015 05:16:15 -0800 (PST) From: Janusz Dziedzic To: linux-wireless@vger.kernel.org Cc: ath9k-devel@lists.ath9k.org, Janusz Dziedzic Subject: [PATCH 05/12] ath9k: use u32 when calculate tsf Date: Thu, 12 Nov 2015 14:15:42 +0100 Message-Id: <1447334149-15507-5-git-send-email-janusz.dziedzic@tieto.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447334149-15507-1-git-send-email-janusz.dziedzic@tieto.com> References: <1447334149-15507-1-git-send-email-janusz.dziedzic@tieto.com> X-DomainID: tieto.com Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath9k/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index 5640e88..d86566b 100644 --- a/drivers/net/wireless/ath/ath9k/channel.c +++ b/drivers/net/wireless/ath/ath9k/channel.c @@ -1405,7 +1405,7 @@ static void ath9k_update_p2p_ps_timer(struct ath_softc *sc, struct ath_vif *avp) { struct ath_common *common = ath9k_hw_common(sc->sc_ah); struct ath_hw *ah = sc->sc_ah; - s32 tsf, target_tsf; + u32 tsf, target_tsf; if (!avp || !avp->noa.has_next_tsf) return;