--- x/net/mac80211/rate.c +++ y/net/mac80211/rate.c @@ -217,7 +217,6 @@ ieee80211_rate_control_ops_get(const cha const struct rate_control_ops *ops; const char *alg_name; - kernel_param_lock(THIS_MODULE); if (!name) alg_name = ieee80211_default_rc_algo; else @@ -233,8 +232,6 @@ ieee80211_rate_control_ops_get(const cha /* try built-in one if specific alg requested but not found */ ops = ieee80211_try_rate_control_ops_get(CONFIG_MAC80211_RC_DEFAULT); - kernel_param_unlock(THIS_MODULE); - return ops; }