Skip to content

Commit

Permalink
iwlwifi: set hw_version in wiphy
Browse files Browse the repository at this point in the history
Set the hw_version in wiphy structure

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
  • Loading branch information
Wey-Yi Guy committed Dec 19, 2011
1 parent 62e7316 commit 0ba958e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlwifi/iwl-mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ int iwlagn_mac_setup_register(struct iwl_priv *priv,
priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
&priv->bands[IEEE80211_BAND_5GHZ];

hw->wiphy->hw_version = bus_get_hw_id(bus(priv));

iwl_leds_init(priv);

ret = ieee80211_register_hw(priv->hw);
Expand Down

0 comments on commit 0ba958e

Please sign in to comment.