Commit e59fc525 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Greg Kroah-Hartman

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: default avatarJ. Bruce Fields <bfields@redhat.com>
Link: https://lore.kernel.org/r/1562799574-13315-1-git-send-email-bfields@redhat.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f073df7
...@@ -2132,7 +2132,7 @@ static inline const char *escape_essid(const char *essid, u8 essid_len) ...@@ -2132,7 +2132,7 @@ static inline const char *escape_essid(const char *essid, u8 essid_len)
return escaped; return escaped;
} }
snprintf(escaped, sizeof(escaped), "%*pEn", essid_len, essid); snprintf(escaped, sizeof(escaped), "%*pE", essid_len, essid);
return escaped; return escaped;
} }
......
...@@ -2426,7 +2426,7 @@ static inline const char *escape_essid(const char *essid, u8 essid_len) ...@@ -2426,7 +2426,7 @@ static inline const char *escape_essid(const char *essid, u8 essid_len)
return escaped; return escaped;
} }
snprintf(escaped, sizeof(escaped), "%*pEn", essid_len, essid); snprintf(escaped, sizeof(escaped), "%*pE", essid_len, essid);
return escaped; return escaped;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment