]> Git Repo - J-linux.git/commitdiff
Merge tag 'ieee802154-for-davem-2022-02-10' of git://git.kernel.org/pub/scm/linux...
authorDavid S. Miller <[email protected]>
Thu, 10 Feb 2022 14:28:04 +0000 (14:28 +0000)
committerDavid S. Miller <[email protected]>
Thu, 10 Feb 2022 14:28:04 +0000 (14:28 +0000)
Stefan Schmidt says:

====================
pull-request: ieee802154-next 2022-02-10

An update from ieee802154 for your *net-next* tree.

There is more ongoing in ieee802154 than usual. This will be the first pull
request for this cycle, but I expect one more. Depending on review and rework
times.

Pavel Skripkin ported the atusb driver over to the new USB api to avoid unint
problems as well as making use of the modern api without kmalloc() needs in he
driver.

Miquel Raynal landed some changes to ensure proper frame checksum checking with
hwsim, documenting our use of wake and stop_queue and eliding a magic value by
using the proper define.

David Girault documented the address struct used in ieee802154.
====================

Signed-off-by: David S. Miller <[email protected]>
1  2 
drivers/net/ieee802154/mac802154_hwsim.c

index 36f1c5aa98fc6dc3815d15f4af1c776fbd5ec045,62ced7a30d92892345edb6baecb36d500f3a4f09..38c217bd7c8226c174a6f35a20047f7b8f027b69
@@@ -786,12 -786,11 +786,12 @@@ static int hwsim_add_one(struct genl_in
                goto err_pib;
        }
  
 +      pib->channel = 13;
        rcu_assign_pointer(phy->pib, pib);
        phy->idx = idx;
        INIT_LIST_HEAD(&phy->edges);
  
-       hw->flags = IEEE802154_HW_PROMISCUOUS;
+       hw->flags = IEEE802154_HW_PROMISCUOUS | IEEE802154_HW_RX_DROP_BAD_CKSUM;
        hw->parent = dev;
  
        err = ieee802154_register_hw(hw);
This page took 0.089404 seconds and 4 git commands to generate.