aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac802154/driver-ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac802154/driver-ops.h')
-rw-r--r--net/mac802154/driver-ops.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac802154/driver-ops.h b/net/mac802154/driver-ops.h
index f21e864613d0..98180a9fff4a 100644
--- a/net/mac802154/driver-ops.h
+++ b/net/mac802154/driver-ops.h
@@ -70,7 +70,8 @@ static inline int drv_set_tx_power(struct ieee802154_local *local, s8 dbm)
70 return local->ops->set_txpower(&local->hw, dbm); 70 return local->ops->set_txpower(&local->hw, dbm);
71} 71}
72 72
73static inline int drv_set_cca_mode(struct ieee802154_local *local, u8 cca_mode) 73static inline int drv_set_cca_mode(struct ieee802154_local *local,
74 const struct wpan_phy_cca *cca)
74{ 75{
75 might_sleep(); 76 might_sleep();
76 77
@@ -79,7 +80,7 @@ static inline int drv_set_cca_mode(struct ieee802154_local *local, u8 cca_mode)
79 return -EOPNOTSUPP; 80 return -EOPNOTSUPP;
80 } 81 }
81 82
82 return local->ops->set_cca_mode(&local->hw, cca_mode); 83 return local->ops->set_cca_mode(&local->hw, cca);
83} 84}
84 85
85static inline int drv_set_lbt_mode(struct ieee802154_local *local, bool mode) 86static inline int drv_set_lbt_mode(struct ieee802154_local *local, bool mode)