Wireshark-commits: [Wireshark-commits] master d958375: NL80211: Remove global variable m_pinfo from
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 07 Jan 2020 12:47:06 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d95837534967bd286646c43a0db987fc08fb77ad
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

d958375 by Jaap Keuter (jaap.keuter@xxxxxxxxx):

    NL80211: Remove global variable m_pinfo from dissector
    
    The Netlink 80211 dissector has a global variable to pass the pinfo pointer
    to dissection routines that need it. Replace this by properly passing it to
    the functions via a new private data structure, akin other netlink dissectors.
    
    Change-Id: Ie08e370b65f7068c01cc93100657e3b8baa5fd63
    Reviewed-on: https://code.wireshark.org/review/35657
    Reviewed-by: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  46b3753   case-sensitive: Fix casing for PCAP and WinSparkle
     add  d958375   NL80211: Remove global variable m_pinfo from dissector


Summary of changes:
 epan/dissectors/packet-netlink-nl80211.c | 69 ++++++++++++++++++--------------
 1 file changed, 40 insertions(+), 29 deletions(-)