diff options
Diffstat (limited to 'net/mac80211/rate.c')
-rw-r--r-- | net/mac80211/rate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index 8ac7a984d886..b33efc4fc267 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c | |||
@@ -287,7 +287,7 @@ int ieee80211_init_rate_ctrl_alg(struct ieee80211_local *local, | |||
287 | struct rate_control_ref *ref, *old; | 287 | struct rate_control_ref *ref, *old; |
288 | 288 | ||
289 | ASSERT_RTNL(); | 289 | ASSERT_RTNL(); |
290 | if (local->open_count || netif_running(local->mdev)) | 290 | if (local->open_count) |
291 | return -EBUSY; | 291 | return -EBUSY; |
292 | 292 | ||
293 | ref = rate_control_alloc(name, local); | 293 | ref = rate_control_alloc(name, local); |