adapter: Early p2p binding
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 22 Jun 2012 13:37:10 +0000 (15:37 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 22 Jun 2012 13:41:18 +0000 (15:41 +0200)
commit9dc8a377d4b106c65822ea61bde783a266730789
treef8fa47d87679d34f1b298f3d831c7883da63c917
parent94ad9c75a21aa67aa72ba59dc65f8f88a5bcf1d1
adapter: Early p2p binding

The LLCP wks array will be properly built before the MAC link is up by
binding to p2p services as soon as a p2p driver is registered.
The bound will also happen when the MAC link is up for supporting kernels
where the bound LLCP sockets will be closed when the MAC is brought down.
For more recent kernels, the bind operation will happen only once.
src/adapter.c
src/device.c
src/near.h