tethering: Fix incorrect index value for private network
authorWu Zheng <wu.zheng@intel.com>
Mon, 2 Jul 2012 05:21:05 +0000 (13:21 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 2 Jul 2012 08:00:18 +0000 (10:00 +0200)
commit0830d06cd64556bc2b51aec47616ca1f3b28512f
treea3e65edc57e3737817330744e6125fcf42c88637
parenta5f8716fecec6036f92e3c6d4762f0e6c230fce6
tethering: Fix incorrect index value for private network

In __connman_private_network_request, pn->fd is used as the index value
and passed to __connman_ippool_create, which is not correct.
It result in the private network is block used externally.
src/tethering.c