Need to check ndef before writing ndef.

Regression due to all the (re)connect changes.

Change-Id: I637618f63518965e893a5a59db61002271666fa4
1 file changed