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>
This commit is contained in:
parent
96bc1f2ae0
commit
c476b2ec70
@ -128,12 +128,16 @@ void Dot11d_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr,
|
|||||||
pTriple = (struct chnl_txpow_triple *)(pCoutryIe + 3);
|
pTriple = (struct chnl_txpow_triple *)(pCoutryIe + 3);
|
||||||
for (i = 0; i < NumTriples; i++) {
|
for (i = 0; i < NumTriples; i++) {
|
||||||
if (MaxChnlNum >= pTriple->FirstChnl) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl +
|
if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl +
|
||||||
pTriple->NumChnls)) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user