]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlagn: use vif->type to check station
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Apr 2010 11:43:04 +0000 (04:43 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:08:57 +0000 (15:08 -0700)
commiteafdfbd32aa9fcaf17733c04d5eb071af3b1ff47
tree6c3ed47f5878cfafe169fa40463a2b09126ea5df
parent93286db50130754d9655c457ad0e11cb8f37a10f
iwlagn: use vif->type to check station

We need not check iw_mode, since we have
the vif pointer available.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c