qcacld-3.0: Use hdd_enter_dev() instead of hdd_enter() to set APF offload

Use hdd_enter_dev() instead of hdd_enter() to set APF offload so that
it will print out which vdev it is coming from.

Change-Id: If75d835f39c86f149c1f42c4289b45083fa84f09
CRs-Fixed: 3133175
This commit is contained in:
Alan Chen
2022-02-17 10:45:30 -08:00
committed by Madan Koyyalamudi
parent 1b0ec920c5
commit c9999b3b40

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -608,7 +609,7 @@ __wlan_hdd_cfg80211_apf_offload(struct wiphy *wiphy,
int ret_val = 0, apf_subcmd;
struct hdd_apf_context *context;
hdd_enter();
hdd_enter_dev(dev);
if (!adapter) {
hdd_err("Adapter is null");