aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/dot11d.c
diff options
context:
space:
mode:
authorMihaela Muraru <mihaela.muraru21@gmail.com>2017-10-14 23:23:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 15:44:39 +0200
commitc476b2ec7011fc392c3a35a736181c9a6154acb8 (patch)
tree1773aa72e36801b9712a270765b0d750a68ddc8c /drivers/staging/rtl8192e/dot11d.c
parentstaging: rtl8192e: Convert timers to use timer_setup() (diff)
downloadlinux-dev-c476b2ec7011fc392c3a35a736181c9a6154acb8.tar.xz
linux-dev-c476b2ec7011fc392c3a35a736181c9a6154acb8.zip
staging: rtl8192e: Use __func__ instead of function name
Use identifier __func__ instead of the name of the function. Issue found by checkpatch.pl. Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/dot11d.c')
-rw-r--r--drivers/staging/rtl8192e/dot11d.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/dot11d.c b/drivers/staging/rtl8192e/dot11d.c
index 017fe04ebe2d..88f89d77b511 100644
--- a/drivers/staging/rtl8192e/dot11d.c
+++ b/drivers/staging/rtl8192e/dot11d.c
@@ -128,12 +128,16 @@ void Dot11d_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr,
pTriple = (struct chnl_txpow_triple *)(pCoutryIe + 3);
for (i = 0; i < NumTriples; i++) {
if (MaxChnlNum >= pTriple->FirstChnl) {
- netdev_info(dev->dev, "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........1\n");
+ netdev_info(dev->dev,
+ "%s: Invalid country IE, skip it......1\n",
+ __func__);
return;
}
if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl +
pTriple->NumChnls)) {
- netdev_info(dev->dev, "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........2\n");
+ netdev_info(dev->dev,
+ "%s: Invalid country IE, skip it......2\n",
+ __func__);
return;
}