From: Thomas Hilber Date: Sun, 1 Jan 2012 09:24:02 +0100 Subject: [ath9k-devel] compat-wireless >= 2011-12-16 broken on debian 6.0 Message-ID: <20120101082402.GA16397@roja.toh.cx> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, all compat-wireless-2011-12-XX.tar.bz2 versions before 2011-12-16 work seemless on a debian 6.0. At least for my AR9280, AR9380 and AR9390 based miniPCIe cards. The versions 2011-12-16 and above require me to encomment following code snippet in nl80211.c ------------------------------8<------------------------------------ #if 0 /* accept only the listed bits */ if (params.sta_flags_mask & ~(BIT(NL80211_STA_FLAG_AUTHORIZED) | BIT(NL80211_STA_FLAG_SHORT_PREAMBLE) | BIT(NL80211_STA_FLAG_WME) | BIT(NL80211_STA_FLAG_MFP))) return -EINVAL; #endif ------------------------------8<------------------------------------ to avoid messages like ------------------------------8<------------------------------------ Could not set station 00:1f:3b:xx:xx:xx flags for kernel driver (errno=95). ------------------------------8<------------------------------------ I don't know what the official way is to fix this issue. Probably hostapd must be fixed to reflect the API changes since version 2011-12-16. cheers Thomas