Use the right way to trigger tag discovered callback 45/20945/1
authorArron Wang <arron.wang@intel.com>
Mon, 12 May 2014 08:57:15 +0000 (16:57 +0800)
committerArron Wang <arron.wang@intel.com>
Wed, 14 May 2014 06:41:45 +0000 (14:41 +0800)
commitaaf2df8153843e4f75312f2ea4703be06ecd71fe
tree7f5bc38ff4a20f74035066ee5f3e024128361401
parent365a57c3ce399c2dd1329bf03b8b83dcd4299e51
Use the right way to trigger tag discovered callback

Due to we need to pass the tag info to tag discovered callback
function, we need to read the tag first, to avoid invoke tag
read completed callback, we need to use a flag for tag discovered

Change-Id: I4786eb76c3cef1d681079bb3998b2d8654d15819
client/net_nfc_neard.c