diff options
Diffstat (limited to 'net/ieee802154/rdev-ops.h')
-rw-r--r-- | net/ieee802154/rdev-ops.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ieee802154/rdev-ops.h b/net/ieee802154/rdev-ops.h index 16b0de06c3af..dbccfa9383fd 100644 --- a/net/ieee802154/rdev-ops.h +++ b/net/ieee802154/rdev-ops.h | |||
@@ -41,4 +41,13 @@ rdev_set_short_addr(struct cfg802154_registered_device *rdev, | |||
41 | return rdev->ops->set_short_addr(&rdev->wpan_phy, wpan_dev, short_addr); | 41 | return rdev->ops->set_short_addr(&rdev->wpan_phy, wpan_dev, short_addr); |
42 | } | 42 | } |
43 | 43 | ||
44 | static inline int | ||
45 | rdev_set_backoff_exponent(struct cfg802154_registered_device *rdev, | ||
46 | struct wpan_dev *wpan_dev, const u8 min_be, | ||
47 | const u8 max_be) | ||
48 | { | ||
49 | return rdev->ops->set_backoff_exponent(&rdev->wpan_phy, wpan_dev, | ||
50 | min_be, max_be); | ||
51 | } | ||
52 | |||
44 | #endif /* __CFG802154_RDEV_OPS */ | 53 | #endif /* __CFG802154_RDEV_OPS */ |