aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index df0ced9405d3..f87ac1df2df5 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -1680,6 +1680,13 @@ static int regulatory_hint_core(const char *alpha2)
1680 1680
1681 queue_regulatory_request(request); 1681 queue_regulatory_request(request);
1682 1682
1683 /*
1684 * This ensures last_request is populated once modules
1685 * come swinging in and calling regulatory hints and
1686 * wiphy_apply_custom_regulatory().
1687 */
1688 flush_scheduled_work();
1689
1683 return 0; 1690 return 0;
1684} 1691}
1685 1692