diff options
Diffstat (limited to 'net/wireless/wext-sme.c')
-rw-r--r-- | net/wireless/wext-sme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c index 14c9a2583ba0..86c331a65664 100644 --- a/net/wireless/wext-sme.c +++ b/net/wireless/wext-sme.c | |||
@@ -21,7 +21,7 @@ int cfg80211_mgd_wext_connect(struct cfg80211_registered_device *rdev, | |||
21 | const u8 *prev_bssid = NULL; | 21 | const u8 *prev_bssid = NULL; |
22 | int err, i; | 22 | int err, i; |
23 | 23 | ||
24 | ASSERT_RDEV_LOCK(rdev); | 24 | ASSERT_RTNL(); |
25 | ASSERT_WDEV_LOCK(wdev); | 25 | ASSERT_WDEV_LOCK(wdev); |
26 | 26 | ||
27 | if (!netif_running(wdev->netdev)) | 27 | if (!netif_running(wdev->netdev)) |