Commit 0ba958eb authored by Wey-Yi Guy's avatar Wey-Yi Guy

iwlwifi: set hw_version in wiphy

Set the hw_version in wiphy structure
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 62e73169
...@@ -234,6 +234,8 @@ int iwlagn_mac_setup_register(struct iwl_priv *priv, ...@@ -234,6 +234,8 @@ int iwlagn_mac_setup_register(struct iwl_priv *priv,
priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
&priv->bands[IEEE80211_BAND_5GHZ]; &priv->bands[IEEE80211_BAND_5GHZ];
hw->wiphy->hw_version = bus_get_hw_id(bus(priv));
iwl_leds_init(priv); iwl_leds_init(priv);
ret = ieee80211_register_hw(priv->hw); ret = ieee80211_register_hw(priv->hw);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment