Skip to content
Commit 6a11e79b authored by Miquel Raynal's avatar Miquel Raynal Committed by Carles Cufí
Browse files

net: l2: ieee802154: Fix a wrong channel change during association



The current association logic starts by changing the channel. The way it
is done is wrong because it dereferences req->channel which is simply
not initialized by the caller. But anyway, the command itself does not
support providing a channel so we must already be on the right one when
trying to associate. Hence, drop this channel change call.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 31b35973
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment