Ignore wext wireless rtnetlink events
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 22 Mar 2010 12:06:05 +0000 (13:06 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 22 Mar 2010 16:56:02 +0000 (17:56 +0100)
commit4997f6e38f34effc00179e849dee0dc2e2263d3a
tree93a4fcd4a76450e5e4f1ee4434a6a316da82ef27
parent0f775e45e9ca49ba53357f3d18fd7a09337f0dfe
Ignore wext wireless rtnetlink events

The kernel wext core sends wireless events through the rtnetlink channel.
They show up with the ifi_change field set to 0.
The problem with those messages is that their ifi_flags might be
unsynchronized due to the fact that the actual message sending is handled
by a workqueue that doesnt build the message. ifi_flags is set to
dev_flags, but by the time the message is sent dev_flags might have changed.
Connman should just ignore those messages as we don't care about wext
events at all.
plugins/wifi.c