Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b2b2ffb authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville
Browse files

ath: space cleanup

parent 203c4805
Loading
Loading
Loading
Loading
+19 −14
Original line number Diff line number Diff line
@@ -173,8 +173,8 @@ static bool ath_is_radar_freq(u16 center_freq)
 *   received a beacon on a channel we can enable active scan and
 *   adhoc (or beaconing).
 */
static void ath_reg_apply_beaconing_flags(
	struct wiphy *wiphy,
static void
ath_reg_apply_beaconing_flags(struct wiphy *wiphy,
			      enum nl80211_reg_initiator initiator)
{
	enum ieee80211_band band;
@@ -232,8 +232,8 @@ static void ath_reg_apply_beaconing_flags(
}

/* Allows active scan scan on Ch 12 and 13 */
static void ath_reg_apply_active_scan_flags(
	struct wiphy *wiphy,
static void
ath_reg_apply_active_scan_flags(struct wiphy *wiphy,
				enum nl80211_reg_initiator initiator)
{
	struct ieee80211_supported_band *sband;
@@ -335,7 +335,8 @@ static void ath_reg_apply_world_flags(struct wiphy *wiphy,
}

int ath_reg_notifier_apply(struct wiphy *wiphy,
	struct regulatory_request *request, struct ath_regulatory *reg)
			   struct regulatory_request *request,
			   struct ath_regulatory *reg)
{
	/* We always apply this */
	ath_reg_apply_radar_flags(wiphy);
@@ -433,7 +434,9 @@ ath_get_regpair(int regdmn)
	return NULL;
}

static int ath_regd_init_wiphy(struct ath_regulatory *reg, struct wiphy *wiphy,
static int
ath_regd_init_wiphy(struct ath_regulatory *reg,
		    struct wiphy *wiphy,
		    int (*reg_notifier)(struct wiphy *wiphy,
					struct regulatory_request *request))
{
@@ -464,7 +467,9 @@ static int ath_regd_init_wiphy(struct ath_regulatory *reg, struct wiphy *wiphy,
	return 0;
}

int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy,
int
ath_regd_init(struct ath_regulatory *reg,
	      struct wiphy *wiphy,
	      int (*reg_notifier)(struct wiphy *wiphy,
				  struct regulatory_request *request))
{