Commit 317900cb010f4aca0e3cb14a02d0ddcc44ddafa7
Committed by
David S. Miller
1 parent
6bf90b2bf4
Exists in
master
and in
7 other branches
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
net/wireless/wext.c
... | ... | @@ -1277,6 +1277,7 @@ |
1277 | 1277 | r->ifi_flags = dev_get_flags(dev); |
1278 | 1278 | r->ifi_change = 0; /* Wireless changes don't affect those flags */ |
1279 | 1279 | |
1280 | + NLA_PUT_STRING(skb, IFLA_IFNAME, dev->name); | |
1280 | 1281 | /* Add the wireless events in the netlink packet */ |
1281 | 1282 | NLA_PUT(skb, IFLA_WIRELESS, event_len, event); |
1282 | 1283 |