fixes for nl80211 support