What to do if Air Drop does not show another computer in same WIFI network?

I

iMore Question

When I open Air Drop nothing shows even though we have two computers in same WIFI network, a Mac and a McBook Air. What can I do do use Air Drop? It has worked in the past but I have not used it since I upgraded to Apple OS Yosemite.