* [PATCH] wext: Send name on events
@ 2008-08-07 13:25 jamal
2008-08-13 9:40 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: jamal @ 2008-08-07 13:25 UTC (permalink / raw)
To: John W. Linville; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 91 bytes --]
iproute2 doesnt like it, so i was getting irritated by this on my
laptop.
cheers,
jamal
[-- Attachment #2: wext-1 --]
[-- Type: text/plain, Size: 1052 bytes --]
wext: Send name on events
In the minimal the wireless extensions oughta send at least
the name in addition to the ifindex.
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
---
commit 8dd4c21ea0029bb6a9c838254460f9b1ca677531
tree ce70cdebe4dac4ba2543d1bb6d1e507aa2fd5da7
parent 82ca26fa474171326de9851a2f547c490f8e7276
author Jamal Hadi Salim <hadi@cyberus.ca> Thu, 07 Aug 2008 09:15:22 -0400
committer Jamal Hadi Salim <hadi@cyberus.ca> Thu, 07 Aug 2008 09:15:22 -0400
net/wireless/wext.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/wireless/wext.c b/net/wireless/wext.c
index df5b388..d98ffb7 100644
--- a/net/wireless/wext.c
+++ b/net/wireless/wext.c
@@ -1277,6 +1277,7 @@ static int rtnetlink_fill_iwinfo(struct sk_buff *skb, struct net_device *dev,
r->ifi_flags = dev_get_flags(dev);
r->ifi_change = 0; /* Wireless changes don't affect those flags */
+ NLA_PUT_STRING(skb, IFLA_IFNAME, dev->name);
/* Add the wireless events in the netlink packet */
NLA_PUT(skb, IFLA_WIRELESS, event_len, event);
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-13 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07 13:25 [PATCH] wext: Send name on events jamal
2008-08-13 9:40 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).