iwlwifi: mvm: use IEEE80211_TX_CTRL_PORT_CTRL_PROTO flag
authorJohannes Berg <johannes.berg@intel.com>
Fri, 31 Jan 2014 13:56:18 +0000 (14:56 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 13 Feb 2014 08:27:24 +0000 (10:27 +0200)
commit63f7535d6eb80a465d353c414d14560367c34fb2
tree7bbdc894f5a200f0bdbfc5868062aeb3ce6f5aed
parent7b1dd048b53053d4c6339d1e6043fa7bb82ff93d
iwlwifi: mvm: use IEEE80211_TX_CTRL_PORT_CTRL_PROTO flag

Instead of checking the SKB protocol against EAP, check the
IEEE80211_TX_CTRL_PORT_CTRL_PROTO flag that more generally
indicates whether or not the frame is a port control frame.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/tx.c