adapter: Call target add instead of the other way around
authorSamuel Ortiz <sameo@linux.intel.com>
Sat, 2 Jul 2011 00:46:22 +0000 (02:46 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 21 Oct 2011 06:54:05 +0000 (23:54 -0700)
commitcd6822b2dd2aa9a1cf3bf5ad50f698cf5d6734db
tree794a729ff0375eececc877c5eafe552f75b79349
parent7226ebee67dc313d1013a7dd1513e49bfacdd773
adapter: Call target add instead of the other way around

This is needed for cleaning all targets when a new poll starts.
src/adapter.c
src/near.h
src/netlink.c
src/target.c