ieee802154: hwsim: using right kind of iteration
This patch fixes the error path to unsubscribe all other phy's from current phy. The actually code using a wrong kind of list iteration may copied from the case to unsubscribe the current phy from all other phy's. Cc: Stefan Schmidt <stefan@datenfreihafen.org> Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Fixes: f25da51f ("ieee802154: hwsim: add replacement for fakelb") Signed-off-by: NAlexander Aring <aring@mojatatu.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录