projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62e7316
)
iwlwifi: set hw_version in wiphy
author
Wey-Yi Guy
<wey-yi.w.guy@intel.com>
Sat, 10 Dec 2011 19:33:52 +0000
(11:33 -0800)
committer
Wey-Yi Guy
<wey-yi.w.guy@intel.com>
Mon, 19 Dec 2011 21:33:46 +0000
(13:33 -0800)
Set the hw_version in wiphy structure
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-mac80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-mac80211.c
b/drivers/net/wireless/iwlwifi/iwl-mac80211.c
index 8dc50dd0b36f67165ffbdf40cbbaa949ef16adae..f980e574e1f90dc38b2c9bc426107b9bb1fd400a 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/iwl-mac80211.c
+++ b/
drivers/net/wireless/iwlwifi/iwl-mac80211.c
@@
-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);