you would have to use the Bridge connection in order to make it work.
I'm not sure about the steps, but:
1. Share wi-fi connection (2nd click on wi-fi adapter/connection, find option "Let other computers connect through this connection" / something like this)
2. For LAN connection set the same addresses for DNS,Gateway... except for the first one you will put IP 192.168.0.01 second laptop's IP 192.168.0.02
3. Try this, if isn't working try to make a bridge(choose wi-fi connection and lan connection and then , 2nd click (left) and there is Bridge connection).
Hope this will fork, don't know for sure , I used this a long time ago.