diff options
author | Andy Shevchenko | 2015-12-10 16:43:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-02-08 04:00:46 +0100 |
commit | a67080ee826467cbcb9691418126607bb0d1e33e (patch) | |
tree | c7da03c86a8cdd17211d8bd3473d9b46abba0fcc /drivers/staging/rtl8188eu | |
parent | staging: rtl8188eu: replace open-coded print_hex_dump() (diff) | |
download | kernel-qcow2-linux-a67080ee826467cbcb9691418126607bb0d1e33e.tar.gz kernel-qcow2-linux-a67080ee826467cbcb9691418126607bb0d1e33e.tar.xz kernel-qcow2-linux-a67080ee826467cbcb9691418126607bb0d1e33e.zip |
staging: rtl8188eu: print OUI with %*ph
There is no need to pass each byte as a parameter when printing values in hex
format. We rather use %*ph specifier for that.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c index 742b29c590df..aa7f5711a147 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c @@ -935,8 +935,8 @@ static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, } break; default: - DBG_88E("unknown vendor specific information element ignored (vendor OUI %02x:%02x:%02x len=%lu)\n", - pos[0], pos[1], pos[2], (unsigned long)elen); + DBG_88E("unknown vendor specific information element ignored (vendor OUI %3phC len=%lu)\n", + pos, (unsigned long)elen); return -1; } return 0; |