Add index normalizer 78/40378/3
authorShuhrat Dehkanov <sh.dehkanov@samsung.com>
Wed, 3 Jun 2015 07:13:44 +0000 (16:13 +0900)
committerShuhrat Dehkanov <sh.dehkanov@samsung.com>
Thu, 4 Jun 2015 03:06:55 +0000 (12:06 +0900)
commit773cb7a220332e7455cb8469cc33aad55b03215f
tree5ec78ef1d0efde6461eb1ca5a54a92e64417ec2f
parentfd484e011c47d611bee8effc8491df3ece42a927
Add index normalizer

Index returned by elm_genlist_item_index_get() starts from 1, but
eina_list_nth() index starts from 0 consequently causing mismatch
in user selected AP and the actual AP being connected to.
This adds a normalizer to correct that.

Change-Id: Ia04044ea49d5bacc28606216d4985c8d0655bc00
ug/network/src/main_view.c