mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
iwlwifi: set hw_version in wiphy
Set the hw_version in wiphy structure Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
parent
62e731695d
commit
0ba958ebf1
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue