iwlwifi: mvm: register vif debugfs for AP mode too
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 26 Jun 2013 20:51:41 +0000 (23:51 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jul 2013 09:05:02 +0000 (11:05 +0200)
The current registered the per-vif debugfs handler for
STA mode only.

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

index fbb8c2dc66e02b3ec5ddf445284a2642b65287fc..13cc7722fbcfd6fdef283abb4798e7d24a7fcdad 100644 (file)
@@ -526,6 +526,7 @@ static int iwl_mvm_mac_add_interface(struct ieee80211_hw *hw,
                        goto out_release;
                }
 
+               iwl_mvm_vif_dbgfs_register(mvm, vif);
                goto out_unlock;
        }