diff options
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 48db569d4c6b..8d176a8010ba 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -382,6 +382,8 @@ static int call_crda(const char *alpha2) | |||
382 | /* Used by nl80211 before kmalloc'ing our regulatory domain */ | 382 | /* Used by nl80211 before kmalloc'ing our regulatory domain */ |
383 | bool reg_is_valid_request(const char *alpha2) | 383 | bool reg_is_valid_request(const char *alpha2) |
384 | { | 384 | { |
385 | assert_cfg80211_lock(); | ||
386 | |||
385 | if (!last_request) | 387 | if (!last_request) |
386 | return false; | 388 | return false; |
387 | 389 | ||