projects
/
madwifi
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c95ed6f
)
Don't show kernel pointers to procfs, just show if ni is NULL
author
Pavel Roskin
<proski@gnu.org>
Tue, 12 Nov 2013 19:32:14 +0000
(14:32 -0500)
committer
Pavel Roskin
<proski@gnu.org>
Tue, 12 Nov 2013 19:32:14 +0000
(14:32 -0500)
net80211/ieee80211_linux.c
patch
|
blob
|
history
diff --git
a/net80211/ieee80211_linux.c
b/net80211/ieee80211_linux.c
index b9005a6c5213f07b68c315aa294fc3f3a63842ce..d954b3bbcd5223e33ec31108b0131bcdec529e8f 100644
(file)
--- a/
net80211/ieee80211_linux.c
+++ b/
net80211/ieee80211_linux.c
@@
-504,10
+504,10
@@
proc_iv_bss_print(struct ieee80211vap *vap, char *buf, int space)
char *p = buf;
const struct ieee80211_node *ni = vap->iv_bss;
- p += sprintf(p, "vap:%p vap->iv_bss: %p\n",
- vap, ni);
- if (ni == NULL)
+ if (ni == NULL) {
+ p += sprintf(p, "ni: NULL\n");
return (p - buf);
+ }
p += sprintf(p, "ni_macaddr: " MAC_FMT "\n"
"ni_bssid: " MAC_FMT "\n"