# Re: \[PATCH\] ieee802154: hwsim: fix GPF in hwsim\_set\_edge\_lqi

- From: Stefan Schmidt \<stefan@datenfreihafen.org\>
- Date: 2021-07-07 14:42:01 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/07/1435615
- Thread: https://ratatoskr.run/netdev/2021/07/1433110/t.md

```text
Hello.

On 07.07.21 16:40, Dongliang Mu wrote:
> On Wed, Jul 7, 2021 at 9:44 PM Alexander Aring [ref] wrote:
>>
>> Hi,
>>
>> On Mon, 5 Jul 2021 at 09:13, Dongliang Mu [ref] wrote:
>>>
>>> Both MAC802154_HWSIM_ATTR_RADIO_ID and MAC802154_HWSIM_ATTR_RADIO_EDGE,
>>> MAC802154_HWSIM_EDGE_ATTR_ENDPOINT_ID and MAC802154_HWSIM_EDGE_ATTR_LQI
>>> must be present to fix GPF.
>>>
>>> Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb")
>>> Signed-off-by: Dongliang Mu <redacted>
>>
>> Acked-by: Alexander Aring <aahringo@redhat.com>
>>
>> Thanks, but there are more places than this one. Can you send patches
>> for them as well? Thanks! :)
>
> Sure. I will double-check those places and send patches to fix them.

I will take this one in as-is. All new patches should be done with this one applied.

regards
Stefan Schmidt
```
