Wireshark-dev: Re: [Wireshark-dev] MSVC 2008 - ENOTSUP not declared

From: Pontus Fuchs <pontus.fuchs@xxxxxxxxx>
Date: Thu, 21 Jun 2012 19:43:55 +0200

On 2012-06-21 17:16, Jeff Morriss wrote:
Hmm, I should have investigated a little further before sending the email.
ws80211_toolbar_new() is testing for a ENOTSUP return from 
ws80211_init() which never returns ENOTSUP.  Does one of the error 
returns from that function mean "Wireless support not enabled"?  Maybe 
the test (which results in that message instead of just "Failed to 
initialize ws80211") should go away?
Actually looking as the source I now see that my suggestion was incorrect.

ENOTSUP is what the linux kernel returns if the kernel lacks wireless support. I assumed it was ws80211_utils.c that returned ENOTSUP in the #else-code that was compiled when libnl is missing.
I'll try to fix this asap.

Cheers,

Pontus