From patchwork Fri Dec 2 09:31:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 2526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp738786wrr; Fri, 2 Dec 2022 01:45:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf4apUCGWGRIaQXq6+6+kQbHF4XoYuAN+7CYpF20wwdGu1ljo4ys66H67jqTgTnHWFryUHSP X-Received: by 2002:a17:907:76cb:b0:7c0:870b:3dda with SMTP id kf11-20020a17090776cb00b007c0870b3ddamr14635380ejc.676.1669974349438; Fri, 02 Dec 2022 01:45:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669974349; cv=none; d=google.com; s=arc-20160816; b=TSJ0LQT+mTStZjUJjyebWog4+46AJ0/MpXTReCmXOJxoThbdPBKyN7cHJWSZIuSInR 85OqlHWBpQ9qOUbZzUwnpHNYKWotdGAbR8Apm5jWvu0/wjc8nIvs2jgclW60vS5/WqAE pb0DR6I3DK+H9640y2VQ4/NFx8qEwYfX8SZF7i5GRRFVY5f/K7kd4c2bYWo9iTV2xEDy 7+FfU9Q7UxGyX+mjxERJ9F+SBxo62cf3O4oGBKPCxjGMVFRKCRaYCSovg2SqqlZAraxZ HKFo3I0yM7u1TYI2q/qIYCdfwj3dbL9lFMIEYT5WrKlVFrT3tQ6L9GRprjeh87pBaxx8 6Tag== 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=h+fnnFV1m2pR9B+DszF4J8z9pYprBszebyUvVCcnEpI=; b=DD+IZL4tbG91uYd1HTRXzNwU3Z5cccZfLwZaYKhWyKJpfsJzcgYm207+CenmIXU5bQ PX6wFw/SSr1IBMzvrO28oiDdrL2JHULW2kqTqVagHkC9js1A503LIkwDAcqO53lx0506 FpGjnwURIkAnL7zC/eDbkGoqVv9d11T0TOc3i6kNKDgPaB109Q3O3kj1PgrYGvGJwqAy ZOD/t1Ro1hC+5XFFSLxduXVrK4heRIEfmWKUS4cZC4G/zbCOoGfs2ualKQUR3PWiJMbv ojQPtg0UFeCuP3RxBhL2CCh1iZZbfRd42VY+HBRojWJ02uC0y4X4uBLBor4T3OafA8nv 8zgg== 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 sz15-20020a1709078b0f00b007acf3aed493si5137828ejc.910.2022.12.02.01.45.26; Fri, 02 Dec 2022 01:45:49 -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 S232226AbiLBJcQ (ORCPT + 99 others); Fri, 2 Dec 2022 04:32:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231661AbiLBJcO (ORCPT ); Fri, 2 Dec 2022 04:32:14 -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 2539297905 for ; Fri, 2 Dec 2022 01:32:13 -0800 (PST) Received: from ipservice-092-217-087-074.092.217.pools.vodafone-ip.de ([92.217.87.74] 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 1p12Or-0001zC-Va; Fri, 02 Dec 2022 10:32:06 +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/2] staging: r8188eu: use ieee80211 helpers for subtype Date: Fri, 2 Dec 2022 10:31:57 +0100 Message-Id: <20221202093159.404111-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751095023686765246?= X-GMAIL-MSGID: =?utf-8?q?1751095023686765246?= Use the ieee80211 helper functions in some places where the frame subtype is checked. Martin Kaiser (2): staging: r8188eu: use subtype helpers in collect_bss_info staging: r8188eu: use subtype helper in rtw_check_bcn_info drivers/staging/r8188eu/core/rtw_mlme_ext.c | 26 +++++++++----------- drivers/staging/r8188eu/core/rtw_wlan_util.c | 7 +++--- 2 files changed, 14 insertions(+), 19 deletions(-) Tested-by: Philipp Hortmann # Edimax N150