diff options
Diffstat (limited to 'include/net/caif/cfcnfg.h')
-rw-r--r-- | include/net/caif/cfcnfg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/caif/cfcnfg.h b/include/net/caif/cfcnfg.h index 366082c5d435..f16b875acc48 100644 --- a/include/net/caif/cfcnfg.h +++ b/include/net/caif/cfcnfg.h | |||
@@ -87,13 +87,14 @@ cfcnfg_add_phy_layer(struct cfcnfg *cnfg, enum cfcnfg_phy_type phy_type, | |||
87 | int cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer); | 87 | int cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer); |
88 | 88 | ||
89 | /** | 89 | /** |
90 | * cfcnfg_del_adapt_layer - Deletes an adaptation layer from the CAIF stack. | 90 | * cfcnfg_disconn_adapt_layer - Disconnects an adaptation layer. |
91 | * | 91 | * |
92 | * @cnfg: Pointer to a CAIF configuration object, created by | 92 | * @cnfg: Pointer to a CAIF configuration object, created by |
93 | * cfcnfg_create(). | 93 | * cfcnfg_create(). |
94 | * @adap_layer: Adaptation layer to be removed. | 94 | * @adap_layer: Adaptation layer to be removed. |
95 | */ | 95 | */ |
96 | int cfcnfg_del_adapt_layer(struct cfcnfg *cnfg, struct cflayer *adap_layer); | 96 | int cfcnfg_disconn_adapt_layer(struct cfcnfg *cnfg, |
97 | struct cflayer *adap_layer); | ||
97 | 98 | ||
98 | /** | 99 | /** |
99 | * cfcnfg_add_adaptation_layer - Add an adaptation layer to the CAIF stack. | 100 | * cfcnfg_add_adaptation_layer - Add an adaptation layer to the CAIF stack. |
@@ -102,14 +103,13 @@ int cfcnfg_del_adapt_layer(struct cfcnfg *cnfg, struct cflayer *adap_layer); | |||
102 | * driver functionality is implemented. | 103 | * driver functionality is implemented. |
103 | * | 104 | * |
104 | * @cnfg: Pointer to a CAIF configuration object, created by | 105 | * @cnfg: Pointer to a CAIF configuration object, created by |
105 | * cfcnfg_create(). | 106 | * cfcnfg_create(). |
106 | * @param: Link setup parameters. | 107 | * @param: Link setup parameters. |
107 | * @adap_layer: Specify the adaptation layer; the receive and | 108 | * @adap_layer: Specify the adaptation layer; the receive and |
108 | * flow-control functions MUST be set in the structure. | 109 | * flow-control functions MUST be set in the structure. |
109 | * | 110 | * |
110 | */ | 111 | */ |
111 | int | 112 | int cfcnfg_add_adaptation_layer(struct cfcnfg *cnfg, |
112 | cfcnfg_add_adaptation_layer(struct cfcnfg *cnfg, | ||
113 | struct cfctrl_link_param *param, | 113 | struct cfctrl_link_param *param, |
114 | struct cflayer *adap_layer); | 114 | struct cflayer *adap_layer); |
115 | 115 | ||