ieee802154: Avoid confusing changes after associating
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Nov 2023 11:16:54 +0000 (12:16 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 15 Dec 2023 10:14:55 +0000 (11:14 +0100)
commitb720383ab1cfd584c8c0d9fc7b8cc541ed76dba5
tree1d63a0656e792af2435038e9cdb788ac79e0c4fd
parent95d92505b6063896d7a1e6fcadd07e8552653cfb
ieee802154: Avoid confusing changes after associating

Once associated with any device, we are part of a PAN (with a specific
PAN ID), and we are expected to be present on a particular
channel. Let's avoid confusing other devices by preventing any PAN
ID/channel change once associated.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/linux-wpan/20231128111655.507479-5-miquel.raynal@bootlin.com
net/ieee802154/nl802154.c