diff options
author | Miquel Raynal <[email protected]> | 2022-01-25 13:14:21 +0100 |
---|---|---|
committer | Stefan Schmidt <[email protected]> | 2022-01-27 08:18:54 +0100 |
commit | 1293fccc9e892712d910ec96079d3717307f1d2d (patch) | |
tree | 5390e99f3633f8f4bc42ef46287d5f2d304cf769 /net/lapb/lapb_timer.c | |
parent | 2f61353cd2f789a4229b6f5c1c24a40a613357bb (diff) |
net: ieee802154: hwsim: Ensure proper channel selection at probe time
Drivers are expected to set the PHY current_channel and current_page
according to their default state. The hwsim driver is advertising being
configured on channel 13 by default but that is not reflected in its own
internal pib structure. In order to ensure that this driver consider the
current channel as being 13 internally, we at least need to set the
pib->channel field to 13.
Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb")
Signed-off-by: Miquel Raynal <[email protected]>
[[email protected]: fixed assigment from page to channel]
Acked-by: Alexander Aring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions