diff options
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/reg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 2520a1b7e7db..bc1ec2c26fd0 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -2263,6 +2263,9 @@ void /* __init_or_exit */ regulatory_exit(void) | |||
2263 | 2263 | ||
2264 | kfree(last_request); | 2264 | kfree(last_request); |
2265 | 2265 | ||
2266 | last_request = NULL; | ||
2267 | dev_set_uevent_suppress(®_pdev->dev, true); | ||
2268 | |||
2266 | platform_device_unregister(reg_pdev); | 2269 | platform_device_unregister(reg_pdev); |
2267 | 2270 | ||
2268 | spin_lock_bh(®_pending_beacons_lock); | 2271 | spin_lock_bh(®_pending_beacons_lock); |