Skip to content

Commit ea1bc30

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename function rtllib_send_ADDBARsp()
Rename function rtllib_send_ADDBARsp to rtllib_send_add_ba_rsp to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240229024325.453374-5-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2e5744d commit ea1bc30

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/staging/rtl8192e/rtl819x_BAProc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ static void rtllib_send_add_ba_req(struct rtllib_device *ieee, u8 *dst,
186186
netdev_dbg(ieee->dev, "Failed to generate ADDBAReq packet.\n");
187187
}
188188

189-
static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst,
190-
struct ba_record *ba, u16 status_code)
189+
static void rtllib_send_add_ba_rsp(struct rtllib_device *ieee, u8 *dst,
190+
struct ba_record *ba, u16 status_code)
191191
{
192192
struct sk_buff *skb;
193193

@@ -283,7 +283,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
283283
ba->ba_param_set.field.buffer_size = 32;
284284

285285
activate_ba_entry(ba, 0);
286-
rtllib_send_ADDBARsp(ieee, dst, ba, ADDBA_STATUS_SUCCESS);
286+
rtllib_send_add_ba_rsp(ieee, dst, ba, ADDBA_STATUS_SUCCESS);
287287

288288
return 0;
289289

@@ -295,7 +295,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
295295
BA.ba_timeout_value = *ba_timeout_value;
296296
BA.dialog_token = *dialog_token;
297297
BA.ba_param_set.field.ba_policy = BA_POLICY_IMMEDIATE;
298-
rtllib_send_ADDBARsp(ieee, dst, &BA, rc);
298+
rtllib_send_add_ba_rsp(ieee, dst, &BA, rc);
299299
return 0;
300300
}
301301
}

0 commit comments

Comments
 (0)