aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154/rdev-ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee802154/rdev-ops.h')
-rw-r--r--net/ieee802154/rdev-ops.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ieee802154/rdev-ops.h b/net/ieee802154/rdev-ops.h
index 263095c8686c..f9171aaf985e 100644
--- a/net/ieee802154/rdev-ops.h
+++ b/net/ieee802154/rdev-ops.h
@@ -59,4 +59,13 @@ rdev_set_max_csma_backoffs(struct cfg802154_registered_device *rdev,
59 max_csma_backoffs); 59 max_csma_backoffs);
60} 60}
61 61
62static inline int
63rdev_set_max_frame_retries(struct cfg802154_registered_device *rdev,
64 struct wpan_dev *wpan_dev,
65 const s8 max_frame_retries)
66{
67 return rdev->ops->set_max_frame_retries(&rdev->wpan_phy, wpan_dev,
68 max_frame_retries);
69}
70
62#endif /* __CFG802154_RDEV_OPS */ 71#endif /* __CFG802154_RDEV_OPS */