Browse Source

iwlwifi: mvm: register vif debugfs for AP mode too

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>
Emmanuel Grumbach 12 years ago
parent
commit
77740cb433
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/wireless/iwlwifi/mvm/mac80211.c

+ 1 - 0
drivers/net/wireless/iwlwifi/mvm/mac80211.c

@@ -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;
 	}