Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
}
/* Converts a file regdomain to ieee80211_regdomain, easier to manage */
-struct ieee80211_regdomain *country2rd(uint8_t *db, int dblen,
- struct regdb_file_reg_country *country)
+static struct ieee80211_regdomain *
+country2rd(uint8_t *db, int dblen,
+ struct regdb_file_reg_country *country)
{
struct regdb_file_reg_rules_collection *rcoll;
struct ieee80211_regdomain *rd;
void *crda_get_file_ptr(uint8_t *db, int dblen, int structlen, uint32_t ptr);
int crda_verify_db_signature(uint8_t *db, int dblen, int siglen);
-/* File reg db entry -> rd converstion utilities */
-struct ieee80211_regdomain *country2rd(uint8_t *db, int dblen,
- struct regdb_file_reg_country *country);
-
struct ieee80211_regdomain *
reglib_get_country_idx(unsigned int idx, const char *file);