wifi: Fix java doc error, use @code instead of @link

Root cause:
The @link is referencing the hidden method will build break

Bug: 142752869
Test: make docs frameworks/base/wifi/
Change-Id: I8101fcfc5fd022d3216b300ce054645bcd878a07
2 files changed