Message ID | 20221129205152.128172-1-martin@kaiser.cx |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp565053wrr; Tue, 29 Nov 2022 13:01:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6wnwpnTBtSy38JSOoNeLG8oV3W8QcozPZcYJ+5hqw2sTx1RuhCDd1OuXm4CRQm6uNNt1IX X-Received: by 2002:a17:906:1585:b0:7ad:84c7:502d with SMTP id k5-20020a170906158500b007ad84c7502dmr35556498ejd.177.1669755704513; Tue, 29 Nov 2022 13:01:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669755704; cv=none; d=google.com; s=arc-20160816; b=w5i815woFGFkrW/fZIdZqnqXlDgBIYgrqwQ5Wc7BfdxKHc7BpRtvoHsWb5+2H7VQrz aHE2ReF/I0cYvGGATWCkLy0zFqUpqdpjnKeuAfDi/su892EEm1Zq7FYWN4xUaN5o56BW 8hgO1rhXYDx6eibuhgDcTI1bjOgf9A6rgKSKg+xjMQJRP584c9iF2Y+I7LBhCrWD4L2+ 2CgIGRqAGwOZSOmZzHKlxvzyLrBXnZELChmp59C1SnKAESzlBOSK3RgJBY+s2Lc7l2gL WT4C4faIlkc4Ww9Ba4nkGjhbe1iiERimI/L0xDfzIkmOriOxR5Pei0M8ufhBpnV5X/He ey9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ejoVttDclKGSqtkruJ7Z3ZOPfkVcoLc/KfdYZ76xrkc=; b=TqI/xaCwHUu1nDVb9hatd+4l18YDwMEZO5ZV6LuaO54WWRvR779K5EBzH1cnYH5S5a 6RCtkxy3FXgnHRMrEL13FVBvSfM5XqCf2XdCMqqMXbfGVl0J0raC+dfG9a9EICM5pmKi VpPgAsYRBeTDwIrezr8xHcVppv4LxkF+fBnR5uYE2vpjLvNr+Fudf+a3DUe0hgxI22Ol L7WQupfJWTX/9+IY1cduTk0zgsmnVnUfoENrF0FTdwg+9ooxoKz6CkItP0rnlIZ1WILX XswyD+4VQTJLf3BfwDfHEeWAVzIOHbPWoYBYAgBzWvJIlSDgsQUSyFmELTe1lQxciv1i H0vg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a056402084f00b0046453c36c4csi15993223edz.513.2022.11.29.13.01.18; Tue, 29 Nov 2022 13:01:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236430AbiK2UwI (ORCPT <rfc822;rbbytesnap@gmail.com> + 99 others); Tue, 29 Nov 2022 15:52:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236298AbiK2UwG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 29 Nov 2022 15:52:06 -0500 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E782B6367 for <linux-kernel@vger.kernel.org>; Tue, 29 Nov 2022 12:52:05 -0800 (PST) Received: from dslb-188-104-061-001.188.104.pools.vodafone-ip.de ([188.104.61.1] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <martin@kaiser.cx>) id 1p07aA-0001pO-87; Tue, 29 Nov 2022 21:51:58 +0100 From: Martin Kaiser <martin@kaiser.cx> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Larry Finger <Larry.Finger@lwfinger.net>, Phillip Potter <phil@philpotter.co.uk>, Michael Straube <straube.linux@gmail.com>, Pavel Skripkin <paskripkin@gmail.com>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> Subject: [PATCH 0/5] staging: r8188eu: clean up OnDisassoc Date: Tue, 29 Nov 2022 21:51:47 +0100 Message-Id: <20221129205152.128172-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750865757926429757?= X-GMAIL-MSGID: =?utf-8?q?1750865757926429757?= |
Series |
staging: r8188eu: clean up OnDisassoc
|
|
Message
Martin Kaiser
Nov. 29, 2022, 8:51 p.m. UTC
Clean up the OnDisassoc function. Use a struct ieee80211_mgmt for parsing the incoming message and reduce the indentation levels. Please apply this after the two series I sent some days ago Martin Kaiser (5): staging: r8188eu: use ieee80211_mgmt to parse addresses staging: r8188eu: read reason code from ieee80211_mgmt staging: r8188eu: move bBusyTraffic update staging: r8188eu: handle the non-ap case first staging: r8188eu: simplify err handling for unknown station drivers/staging/r8188eu/core/rtw_mlme_ext.c | 47 ++++++++++----------- 1 file changed, 22 insertions(+), 25 deletions(-)
Comments
On 11/29/22 21:51, Martin Kaiser wrote: > Clean up the OnDisassoc function. Use a struct ieee80211_mgmt for parsing > the incoming message and reduce the indentation levels. > > Please apply this after the two series I sent some days ago > > Martin Kaiser (5): > staging: r8188eu: use ieee80211_mgmt to parse addresses > staging: r8188eu: read reason code from ieee80211_mgmt > staging: r8188eu: move bBusyTraffic update > staging: r8188eu: handle the non-ap case first > staging: r8188eu: simplify err handling for unknown station > > drivers/staging/r8188eu/core/rtw_mlme_ext.c | 47 ++++++++++----------- > 1 file changed, 22 insertions(+), 25 deletions(-) > Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150