Normally the WiFi is intended to connect to a router, this normally provides the key.
If you want the laptop to connect directly to the Raspberry Pi it would be easiest to turn the Raspberry Pi into a wireless hotspot.
See this Adafruit tutorial: Setting up a Raspberry Pi as a WiFi access point.
piborg
Mon, 02/01/2016 - 12:08
Permalink
WiFi adapter
Normally the WiFi is intended to connect to a router, this normally provides the key.
If you want the laptop to connect directly to the Raspberry Pi it would be easiest to turn the Raspberry Pi into a wireless hotspot.
See this Adafruit tutorial: Setting up a Raspberry Pi as a WiFi access point.