Skip to content

Commit b9a982d

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename goto OnADDBAReq_Fail
Rename goto OnADDBAReq_Fail -> on_add_ba_req_fail 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-6-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ea1bc30 commit b9a982d

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
@@ -251,21 +251,21 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
251251
"Failed to reply on ADDBA_REQ as some capability is not ready(%d, %d)\n",
252252
ieee->current_network.qos_data.active,
253253
ieee->ht_info->current_ht_support);
254-
goto OnADDBAReq_Fail;
254+
goto on_add_ba_req_fail;
255255
}
256256
if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst,
257257
(u8)(ba_param_set->field.tid), RX_DIR, true)) {
258258
rc = ADDBA_STATUS_REFUSED;
259259
netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__);
260-
goto OnADDBAReq_Fail;
260+
goto on_add_ba_req_fail;
261261
}
262262
ba = &ts->rx_admitted_ba_record;
263263

264264
if (ba_param_set->field.ba_policy == BA_POLICY_DELAYED) {
265265
rc = ADDBA_STATUS_INVALID_PARAM;
266266
netdev_warn(ieee->dev, "%s(): BA Policy is not correct\n",
267267
__func__);
268-
goto OnADDBAReq_Fail;
268+
goto on_add_ba_req_fail;
269269
}
270270

271271
rtllib_FlushRxTsPendingPkts(ieee, ts);
@@ -287,7 +287,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
287287

288288
return 0;
289289

290-
OnADDBAReq_Fail:
290+
on_add_ba_req_fail:
291291
{
292292
struct ba_record BA;
293293

0 commit comments

Comments
 (0)