• Alexander Aring's avatar
    mac802154: iface: fix order while interface up · 95c0aa15
    Alexander Aring authored
    This patch moves the hardware setting before calling the driver start
    callback which activates the receive handling. The hardware setup
    contains settings like address filtering which should be setup before
    activate the receive handling on the transceiver. These setting are
    protected by ieee802154_check_concurrent_iface check. This means we
    need to set these registers once before calling drv_start and can't
    be overwritten by other interfaces.
    Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    95c0aa15
iface.c 16.1 KB