]> git.ipfire.org Git - thirdparty/iw.git/commit - info.c
iw: Use NL80211_FREQUENCY_ATTR_NO_IR channel attribute
authorIlan Peer <ilan.peer@intel.com>
Thu, 14 Nov 2013 07:15:34 +0000 (09:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 16:17:30 +0000 (17:17 +0100)
commitf0c48e7bbda5feb73d4f90c01367d17b8595d08b
treed3c6c64819f7bd690cec37f6febc734f87cb20a4
parent320cfae1f25854959faa6c6a22be815c411d8af8
iw: Use NL80211_FREQUENCY_ATTR_NO_IR channel attribute

Align iw with the change in nl80211.h where NL80211_FREQUENCY_ATTR_NO_IBSS
and NL80211_FREQUENCY_ATTR_PASSIVE_SCAN were replaced by
NL80211_FREQUENCY_ATTR_NO_IR.

In case both NL80211_FREQUENCY_ATTR_NO_IR and __NL80211_FREQUENCY_ATTR_NO_IBSS
are set, assume that a new kernel is used and use the NO_IR notation,
otherwise use the previous notation.

This change requires nl80211.h with the new definitions

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
event.c
info.c
reg.c