iwlwifi: remove pointless HT check
authorJohannes Berg <johannes.berg@intel.com>
Fri, 30 Apr 2010 18:30:50 +0000 (11:30 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:09:07 +0000 (15:09 -0700)
commit63d4176933a5c4d9387eb79e1d50a9232e58c06e
treedc930513817f8e052a18b558ca667bea702f5a06
parent57f8db89340f6ba5d913a1950b8dad4431d2beda
iwlwifi: remove pointless HT check

Remove the check before invoking iwl_set_ht_add_station(),
since neither of the conditions in this check makes sense,
as either we pass in a NULL ht_info (first branch) or in
the IBSS case an ht_info with ht_enabled=false.

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