Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2146381imi; Sun, 24 Jul 2022 08:56:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uri/LKn4oPONAMpWsqgEl/6nTDBn56zZGND5MHTFf6oq54TetZuckKRtF3uCd+mT7YdNbV X-Received: by 2002:a05:6a00:be4:b0:52b:c1f1:cf75 with SMTP id x36-20020a056a000be400b0052bc1f1cf75mr8987834pfu.51.1658678196363; Sun, 24 Jul 2022 08:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658678196; cv=none; d=google.com; s=arc-20160816; b=DBF9Itpbw5BAK/++q++o5Q8i1DQs21x7D7BaYosd49OF5zt+JGXLLz6cRoyjDNhjg8 GEdpgdSWEhWtt3uWwXvmQyq3YahrjxopywJOGWU7462Lc8eMJzZ0z9Xl6KPMvk4kaSoe JcuJ9Gh9vw35Dt9/R+2gR3nGccHNAHramCUpUzARlfL+VcoQHLjphikyCsL9vfyqyY2n 1xZYtmZNwzYnFc/yg43lgRdS0yxSd0pbt/O260k4IIgChsMIUKG5aKoEdwq4XCBFUVlc 7/YXtvP0g4YiRHvQ5mwHg8qAoe1BrxILvQkLZH0aKKi9EtzSwJ+QUdMOgxdokRvh+pQU G49g== 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=+5UCpeHDBHwaSVvlgfsex5AJuiTB3S/g8FQV8ZOoN0o=; b=cJdv0wbNtrwltYq6uO5aI8f28dGzqF/LLXeEjREFNbVujhd8RX66Pi4ylhlsQjesq4 cPJ6bJdc2WboBqSiCg1H67wxBHZWdIND2l3i2ksjF5ogaNBLUoopCreizlhg08pd5tpL qv0sMQ9IbtqwXdzt/VVV6dhxdGbkOXFSPVe5cIk3FtgJTI+6QnIfHkVSgop4bNux2CN8 J6PNT6LMxuIV4solq6iF+dSFD/cnCUbjsPIRnb8RlIiL00K8fs4e+n48Q8rXtUZC4WAw Uf7Eb8xqczyl3oJlJ/5Nlm8e9ISvL6P9/eqJJCOY1YWhLECbuZstpg8dU49wx1o4OsU8 wvOg== 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 c21-20020a056a000ad500b00529a32a966bsi12961946pfl.169.2022.07.24.08.56.21; Sun, 24 Jul 2022 08:56:36 -0700 (PDT) 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 S230396AbiGXPkT (ORCPT + 99 others); Sun, 24 Jul 2022 11:40:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbiGXPkS (ORCPT ); Sun, 24 Jul 2022 11:40:18 -0400 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 D05702AF2 for ; Sun, 24 Jul 2022 08:40:16 -0700 (PDT) Received: from dslb-178-004-201-227.178.004.pools.vodafone-ip.de ([178.4.201.227] 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 1oFdiE-0004Qh-Mo; Sun, 24 Jul 2022 17:40:10 +0200 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: use struct ieee80211_mgmt in OnAssocRsp Date: Sun, 24 Jul 2022 17:39:12 +0200 Message-Id: <20220724153917.138848-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 Use a struct ieee80211_mgmt in OnAssocRsp to read elements of the association response message. Martin Kaiser (5): staging: r8188eu: get da from ieee80211_mgmt staging: r8188eu: read status_code from struct ieee80211_mgmt staging: r8188eu: read capability info from struct ieee80211_mgmt staging: r8188eu: read aid from struct ieee80211_mgmt staging: r8188eu: use offsetof for ie start offset drivers/staging/r8188eu/core/rtw_mlme_ext.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) -- 2.30.2