Skip to content

Commit fd453d3

Browse files
committed
cfg80211: reg: rename reg_regdb_query() to reg_query_builtin()
The new name better reflects the functionality. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent b686303 commit fd453d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

net/wireless/reg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ static void reg_regdb_apply(struct work_struct *work)
478478

479479
static DECLARE_WORK(reg_regdb_work, reg_regdb_apply);
480480

481-
static int reg_regdb_query(const char *alpha2)
481+
static int reg_query_builtin(const char *alpha2)
482482
{
483483
const struct ieee80211_regdomain *regdom = NULL;
484484
struct reg_regdb_apply_request *request;
@@ -521,7 +521,7 @@ static void reg_regdb_size_check(void)
521521
}
522522
#else
523523
static inline void reg_regdb_size_check(void) {}
524-
static inline int reg_regdb_query(const char *alpha2)
524+
static inline int reg_query_builtin(const char *alpha2)
525525
{
526526
return -ENODATA;
527527
}
@@ -605,7 +605,7 @@ static inline int call_crda(const char *alpha2)
605605
static bool reg_query_database(struct regulatory_request *request)
606606
{
607607
/* query internal regulatory database (if it exists) */
608-
if (reg_regdb_query(request->alpha2) == 0)
608+
if (reg_query_builtin(request->alpha2) == 0)
609609
return true;
610610

611611
if (call_crda(request->alpha2) == 0)

0 commit comments

Comments
 (0)