diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-10-08 13:53:14 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-10-13 17:06:03 +0200 |
commit | ad51e09fd1301484820a466a49447a34d7504882 (patch) | |
tree | 06d56b89cf8709b0e9ca63528f8efc411089ddf5 /package/kernel/mac80211/patches/650-0003-rtl8xxxu-tuse-ph-to-dump-buffers.patch | |
parent | 4379bcb1b4b73fb8487a14bec9554a17d4726e35 (diff) | |
download | upstream-ad51e09fd1301484820a466a49447a34d7504882.tar.gz upstream-ad51e09fd1301484820a466a49447a34d7504882.tar.bz2 upstream-ad51e09fd1301484820a466a49447a34d7504882.zip |
mac80211: update to wireless-testing 2016-10-08
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/650-0003-rtl8xxxu-tuse-ph-to-dump-buffers.patch')
-rw-r--r-- | package/kernel/mac80211/patches/650-0003-rtl8xxxu-tuse-ph-to-dump-buffers.patch | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/package/kernel/mac80211/patches/650-0003-rtl8xxxu-tuse-ph-to-dump-buffers.patch b/package/kernel/mac80211/patches/650-0003-rtl8xxxu-tuse-ph-to-dump-buffers.patch deleted file mode 100644 index ee0e0d6756..0000000000 --- a/package/kernel/mac80211/patches/650-0003-rtl8xxxu-tuse-ph-to-dump-buffers.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 2b9c9f52dc03b298c845def62ea890a2d77e9f21 Mon Sep 17 00:00:00 2001 -From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> -Date: Thu, 9 Jun 2016 14:38:49 -0400 -Subject: [PATCH] rtl8xxxu: tuse %*ph to dump buffers - -Use %*ph specifier to dump small buffers in hex format instead of doing this -byte-by-byte. - -Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> -Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> -Signed-off-by: Kalle Valo <kvalo@codeaurora.org> ---- - drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c | 9 ++------- - drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 9 ++------- - drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | 9 ++------- - 3 files changed, 6 insertions(+), 21 deletions(-) - ---- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c -+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c -@@ -413,13 +413,8 @@ static int rtl8192cu_parse_efuse(struct - dev_info(&priv->udev->dev, - "%s: dumping efuse (0x%02zx bytes):\n", - __func__, sizeof(struct rtl8192cu_efuse)); -- for (i = 0; i < sizeof(struct rtl8192cu_efuse); i += 8) { -- dev_info(&priv->udev->dev, "%02x: " -- "%02x %02x %02x %02x %02x %02x %02x %02x\n", i, -- raw[i], raw[i + 1], raw[i + 2], -- raw[i + 3], raw[i + 4], raw[i + 5], -- raw[i + 6], raw[i + 7]); -- } -+ for (i = 0; i < sizeof(struct rtl8192cu_efuse); i += 8) -+ dev_info(&priv->udev->dev, "%02x: %8ph\n", i, &raw[i]); - } - return 0; - } ---- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c -+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c -@@ -622,13 +622,8 @@ static int rtl8192eu_parse_efuse(struct - dev_info(&priv->udev->dev, - "%s: dumping efuse (0x%02zx bytes):\n", - __func__, sizeof(struct rtl8192eu_efuse)); -- for (i = 0; i < sizeof(struct rtl8192eu_efuse); i += 8) { -- dev_info(&priv->udev->dev, "%02x: " -- "%02x %02x %02x %02x %02x %02x %02x %02x\n", i, -- raw[i], raw[i + 1], raw[i + 2], -- raw[i + 3], raw[i + 4], raw[i + 5], -- raw[i + 6], raw[i + 7]); -- } -+ for (i = 0; i < sizeof(struct rtl8192eu_efuse); i += 8) -+ dev_info(&priv->udev->dev, "%02x: %8ph\n", i, &raw[i]); - } - return 0; - } ---- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c -+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c -@@ -466,13 +466,8 @@ static int rtl8723bu_parse_efuse(struct - dev_info(&priv->udev->dev, - "%s: dumping efuse (0x%02zx bytes):\n", - __func__, sizeof(struct rtl8723bu_efuse)); -- for (i = 0; i < sizeof(struct rtl8723bu_efuse); i += 8) { -- dev_info(&priv->udev->dev, "%02x: " -- "%02x %02x %02x %02x %02x %02x %02x %02x\n", i, -- raw[i], raw[i + 1], raw[i + 2], -- raw[i + 3], raw[i + 4], raw[i + 5], -- raw[i + 6], raw[i + 7]); -- } -+ for (i = 0; i < sizeof(struct rtl8723bu_efuse); i += 8) -+ dev_info(&priv->udev->dev, "%02x: %8ph\n", i, &raw[i]); - } - - return 0; |