From patchwork Tue Nov 17 16:49:54 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 60729 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 nAHGoXfZ008185 for ; Tue, 17 Nov 2009 16:50:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755382AbZKQQt5 (ORCPT ); Tue, 17 Nov 2009 11:49:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755444AbZKQQt5 (ORCPT ); Tue, 17 Nov 2009 11:49:57 -0500 Received: from smtp.nokia.com ([192.100.105.134]:17977 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754983AbZKQQt4 (ORCPT ); Tue, 17 Nov 2009 11:49:56 -0500 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nAHGnvL0025100; Tue, 17 Nov 2009 10:50:00 -0600 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Nov 2009 18:49:54 +0200 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Nov 2009 18:49:54 +0200 Received: from [127.0.1.1] (trdhcp14579.ntc.nokia.com [172.22.145.79]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nAHGnruW031215; Tue, 17 Nov 2009 18:49:53 +0200 From: Kalle Valo Subject: [PATCH 14/16] wl1251: Send null data packet with "TODS" bit set To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org Date: Tue, 17 Nov 2009 18:49:54 +0200 Message-ID: <20091117164953.2236.66490.stgit@tikku> In-Reply-To: <20091117164614.2236.8543.stgit@tikku> References: <20091117164614.2236.8543.stgit@tikku> User-Agent: StGIT/0.14.2 MIME-Version: 1.0 X-OriginalArrivalTime: 17 Nov 2009 16:49:54.0895 (UTC) FILETIME=[FD3675F0:01CA67A5] X-Nokia-AV: Clean Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c index 2e1c10f..ff4be7b 100644 --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl12xx/wl1251_main.c @@ -576,7 +576,8 @@ static int wl1251_build_null_data(struct wl1251 *wl) memcpy(template.header.sa, wl->mac_addr, ETH_ALEN); template.header.frame_ctl = cpu_to_le16(IEEE80211_FTYPE_DATA | - IEEE80211_STYPE_NULLFUNC); + IEEE80211_STYPE_NULLFUNC | + IEEE80211_FCTL_TODS); return wl1251_cmd_template_set(wl, CMD_NULL_DATA, &template, sizeof(template));