iwmc3200wifi: fix fragmentation threshold setting
authorSamuel Ortiz <samuel.ortiz@intel.com>
Tue, 26 May 2009 03:10:46 +0000 (11:10 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:10 +0000 (14:05 -0400)
We were sending the fragmentation threshold value to the wrong table,
causing an LMAC assert when setting it from wext.

Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/cfg80211.c

index 3256ad2c96ce4b4d77ffafb89e93dba0275827d6..96f714e6e12b6764c91422e44fbd7ee1d7fdf078 100644 (file)
@@ -268,7 +268,7 @@ static int iwm_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed)
 
                iwm->conf.frag_threshold = wiphy->frag_threshold;
 
-               ret = iwm_umac_set_config_fix(iwm, UMAC_PARAM_TBL_CFG_FIX,
+               ret = iwm_umac_set_config_fix(iwm, UMAC_PARAM_TBL_FA_CFG_FIX,
                                             CFG_FRAG_THRESHOLD,
                                             iwm->conf.frag_threshold);
                if (ret < 0)