From: Wey-Yi Guy Date: Mon, 20 Apr 2009 21:37:00 +0000 (-0700) Subject: iwlwifi: clean up unused NL80211_IFTYPE_MONITOR for Monitor mode X-Git-Tag: v2.6.31-rc1~330^2~568^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=279b05d4362472ae9269f982f00e644265bdbf94;p=pandora-kernel.git iwlwifi: clean up unused NL80211_IFTYPE_MONITOR for Monitor mode This patch clean up the code for NL80211_IFTYPE_MONITOR mode, priv->iw_mode is set in add_interface, but add_interface is never called for monitor mode. The only way mac80211 informs us about monitor mode is through configuring filter; since iw_mode will never set to NL80211_IFTYPE_MONITOR, modify and remove all the code refer to NL80211_IFTYPE_MONITOR and replace with iwl_is_monitor_mode() function call. Signed-off-by: Wey-Yi Guy Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed