projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf90b2
)
wext: Send name on events
author
Jamal Hadi Salim
<hadi@cyberus.ca>
Wed, 13 Aug 2008 09:39:56 +0000
(
02:39
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 13 Aug 2008 09:39:56 +0000
(
02:39
-0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wireless/wext.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/wext.c
b/net/wireless/wext.c
index df5b3886c36b3b38d4de3f7f4f7ad8076b30e715..d98ffb75119ac02891446056b3e507c23f3453ce 100644
(file)
--- 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);