Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2274 (new defect)

Opened 13 years ago

ieee80211_print_essid and IEEE80211_DEBUG

Reported by: digininja Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: trunk
Keywords: Cc:
Patch is attached: 0 Pending: 0

Description

In ieee80211_proto.h the function ieee80211_print_essid is defined outside of an ifdef IEEE80211_DEBUG statement but in ieee80211_proto.c the function body is defined within the same ifdef.

This means that if the function is used without IEEE80211_DEBUG being defined the drivers will build but then fail in use.

To fix this either remove the ifdef from .c or wrap the header definition in it in .h