Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1436861rwb; Tue, 29 Nov 2022 13:38:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf4xJ3MWu7UD9svMXw9Tb6PAlT028rOK9dGnI/qKweHgS/sajQu6YfagxXWeBg8BS1t5ah7c X-Received: by 2002:a63:2251:0:b0:476:cb2a:b99b with SMTP id t17-20020a632251000000b00476cb2ab99bmr52237758pgm.436.1669757888539; Tue, 29 Nov 2022 13:38:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669757888; cv=none; d=google.com; s=arc-20160816; b=XbxlUDMrAXFdC9vHBnBt1kxb9BkdjhDBHWd6nqr17XbqGzqUfR2X2t3E2+1R1QG+M2 ED6VVQ9yxOGYA+Cd6IMKBhlTkptObFK/L4GBn1kFWHP3M8iBRhkp/bLNrkaenDzKG1TU 6gBIHC6hfhFFXzj9ESRbdguPQyuwx1ZvaUyNUkCqT6wO4dYzX2JUwTUoWO2ZxZyv4wtr wzEzWI7cffwBOgPmPsa8t5jS4ejqPahKOdPcGNqUQ8WJUuEqhoLrOeMQffErB8upKIwH pfSknlLXCo50pL9m6iJoRSK4XSkhL02lZ8MKgfmE6v5NVCXkJzP4nAO1s2g+hHNMCpih 7CCg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a630705000000b0045a73a1790asi15893924pgh.613.2022.11.29.13.37.57; Tue, 29 Nov 2022 13:38:08 -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 + 84 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 ); 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 ; 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 ) id 1p07aA-0001pO-87; Tue, 29 Nov 2022 21:51:58 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser 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: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.30.2