summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-4965.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-10-23 20:15:39 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 21:24:50 +0300
commitdc21b5453249e7e9b8878fab356fd60b731cf04d (patch)
tree9dc2a9ea8b11fed26bf82d3e97addba62e0f9aef /drivers/net/wireless/iwlwifi/iwl-4965.c
parent07caf9d6c9135ae25a760867f37aab90c1008380 (diff)
downloadlinux-dc21b5453249e7e9b8878fab356fd60b731cf04d.tar.xz
iwlwifi: make mac80211 ops a device config
In the future, 4965 and modern AGN devices will need to have different mac80211 callbacks since they have different capabilities. Prepare for that by making the mac80211 operations a device config. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index ee9c582c8cf2..7921a910b34a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -2305,6 +2305,7 @@ static const struct iwl_ops iwl4965_ops = {
.hcmd = &iwl4965_hcmd,
.utils = &iwl4965_hcmd_utils,
.led = &iwlagn_led_ops,
+ .ieee80211_ops = &iwlagn_hw_ops,
};
static struct iwl_base_params iwl4965_base_params = {