staging: rtl8192*: display ESSIDs using %pE

Everywhere else in the kernel ESSIDs are printed using %pE, and I can't
see why there should be an exception here.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Link: https://lore.kernel.org/r/1562799574-13315-1-git-send-email-bfields@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
J. Bruce Fields 2019-07-10 18:59:34 -04:00 committed by Greg Kroah-Hartman
parent 0f073df7e7
commit e59fc52529
2 changed files with 2 additions and 2 deletions

View File

@ -2132,7 +2132,7 @@ static inline const char *escape_essid(const char *essid, u8 essid_len)
return escaped;
}
snprintf(escaped, sizeof(escaped), "%*pEn", essid_len, essid);
snprintf(escaped, sizeof(escaped), "%*pE", essid_len, essid);
return escaped;
}

View File

@ -2426,7 +2426,7 @@ static inline const char *escape_essid(const char *essid, u8 essid_len)
return escaped;
}
snprintf(escaped, sizeof(escaped), "%*pEn", essid_len, essid);
snprintf(escaped, sizeof(escaped), "%*pE", essid_len, essid);
return escaped;
}