From patchwork Sat Feb 7 22:23:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 5796821 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 53F91BF440 for ; Sat, 7 Feb 2015 22:23:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B9AD20142 for ; Sat, 7 Feb 2015 22:23:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E6B32013A for ; Sat, 7 Feb 2015 22:23:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758665AbbBGWXc (ORCPT ); Sat, 7 Feb 2015 17:23:32 -0500 Received: from mail-we0-f182.google.com ([74.125.82.182]:37579 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756069AbbBGWXb (ORCPT ); Sat, 7 Feb 2015 17:23:31 -0500 Received: by mail-we0-f182.google.com with SMTP id l61so20010216wev.13 for ; Sat, 07 Feb 2015 14:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=CbhoKnFHJirLdaKoWC/Ky7R3wGDW1yCDcvz1hzO/Rqk=; b=alXcfjRAVXavQ9muhDeRDtk5EbmtpUpOGvTBKabt+aOexelpvaQkPWIEARyfIzBKwX DXa+D2JLiTb0j4oSeaXBeS17Klvrw5uJj6lPTHaakLaSfPNgDZdJUpQTBaA7gBFi8FLB Ub5EhdoRUqMbrWdqP4HJvZ2cQ7BWMq+bC1h7CwpSS5Kigt8pPrk+QPn/2QFgwSrYinxc xc3e2nWJfFWce2erAhi1gqQZ0V/cpY/7sxNZGFNMX5LZiLtIZukFHmKpimyeOaBE6u6a HF5USZODFb7lEcOPVFoLqYlzqwvhiRTklMHNb27wruILwJ+wdTWlFli3MDwZfRHx8sd/ w2Kg== X-Received: by 10.194.60.235 with SMTP id k11mr24313202wjr.131.1423347810531; Sat, 07 Feb 2015 14:23:30 -0800 (PST) Received: from linux-tdhb.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by mx.google.com with ESMTPSA id w3sm9291395wjf.3.2015.02.07.14.23.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Feb 2015 14:23:29 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Brett Rudley , Arend van Spriel , "Franky (Zhenhui) Lin" , Hante Meuleman , brcm80211-dev-list@broadcom.com, linux-wireless@vger.kernel.org Cc: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH RFT] brcmfmac: respect reason when deleting (deauthenticating) STA Date: Sat, 7 Feb 2015 23:23:07 +0100 Message-Id: <1423347787-8557-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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: Rafa? Mi?ecki Acked-by: Arend van Spriel --- drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c index b59b8c6..a23bfaa 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c @@ -4272,7 +4272,7 @@ brcmf_cfg80211_del_station(struct wiphy *wiphy, struct net_device *ndev, return -EIO; memcpy(&scbval.ea, params->mac, ETH_ALEN); - scbval.val = cpu_to_le32(WLAN_REASON_DEAUTH_LEAVING); + scbval.val = cpu_to_le32(params->reason_code); err = brcmf_fil_cmd_data_set(ifp, BRCMF_C_SCB_DEAUTHENTICATE_FOR_REASON, &scbval, sizeof(scbval)); if (err)