I tried to use the wlan api and I run into a problem with the header files. to be more precise the include of the header wlanapi.h is the problem.
When I compile my testprog I get multiple error messages, the error log is attached.
The problem is located in the 2 header files wlanapi.h and wlantypes.h.
After some rearrangement my testprogramm compile and did it job. The necessary changes are in the attached patch.
It would be nice if some one can comit in the svn.
If someone want to see my testprogram it is attached, too.