staging: rtl8192e: Fix quoted string split across lines
Fix checkpatch.pl issues with quoted string split across lines in dot11d.c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4f4c965212
commit
91f14c855a
|
@ -133,14 +133,12 @@ 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) {
|
||||||
printk(KERN_INFO "Dot11d_UpdateCountryIe(): Invalid"
|
printk(KERN_INFO "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........1\n");
|
||||||
" country IE, skip it........1\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl +
|
if (MAX_CHANNEL_NUMBER < (pTriple->FirstChnl +
|
||||||
pTriple->NumChnls)) {
|
pTriple->NumChnls)) {
|
||||||
printk(KERN_INFO "Dot11d_UpdateCountryIe(): Invalid "
|
printk(KERN_INFO "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........2\n");
|
||||||
"country IE, skip it........2\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,8 +165,7 @@ u8 DOT11D_GetMaxTxPwrInDbm(struct rtllib_device *dev, u8 Channel)
|
||||||
u8 MaxTxPwrInDbm = 255;
|
u8 MaxTxPwrInDbm = 255;
|
||||||
|
|
||||||
if (MAX_CHANNEL_NUMBER < Channel) {
|
if (MAX_CHANNEL_NUMBER < Channel) {
|
||||||
printk(KERN_INFO "DOT11D_GetMaxTxPwrInDbm(): Invalid "
|
printk(KERN_INFO "DOT11D_GetMaxTxPwrInDbm(): Invalid Channel\n");
|
||||||
"Channel\n");
|
|
||||||
return MaxTxPwrInDbm;
|
return MaxTxPwrInDbm;
|
||||||
}
|
}
|
||||||
if (pDot11dInfo->channel_map[Channel])
|
if (pDot11dInfo->channel_map[Channel])
|
||||||
|
|
Loading…
Reference in New Issue