Commit 1d85bb7f authored by Franziska Naepelt's avatar Franziska Naepelt Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723bs: Fix alignment open parenthesis



Fix the following checkpatch issues:
- CHECK: Alignment should match open parenthesis

Signed-off-by: default avatarFranziska Naepelt <franziska.naepelt@googlemail.com>
Link: https://lore.kernel.org/r/20230701102555.5393-1-franziska.naepelt@googlemail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c4b811b9
Loading
Loading
Loading
Loading
+49 −42
Original line number Diff line number Diff line
@@ -945,9 +945,9 @@ static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev,
}

static int cfg80211_rtw_set_default_key(struct wiphy *wiphy,
	struct net_device *ndev, int link_id, u8 key_index
	, bool unicast, bool multicast
	)
					struct net_device *ndev, int link_id,
					u8 key_index, bool unicast,
					bool multicast)
{
	struct adapter *padapter = rtw_netdev_priv(ndev);
	struct security_priv *psecuritypriv = &padapter->securitypriv;
@@ -1122,9 +1122,10 @@ void rtw_cfg80211_unlink_bss(struct adapter *padapter, struct wlan_network *pnet
	struct wlan_bssid_ex *select_network = &pnetwork->network;

	bss = cfg80211_get_bss(wiphy, NULL/*notify_channel*/,
		select_network->mac_address, select_network->ssid.ssid,
		select_network->ssid.ssid_length, IEEE80211_BSS_TYPE_ANY,
		IEEE80211_PRIVACY_ANY);
			       select_network->mac_address,
			       select_network->ssid.ssid,
			       select_network->ssid.ssid_length,
			       IEEE80211_BSS_TYPE_ANY, IEEE80211_PRIVACY_ANY);

	if (bss) {
		cfg80211_unlink_bss(wiphy, bss);
@@ -1814,8 +1815,7 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
}

static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
	struct wireless_dev *wdev,
	int *dbm)
				    struct wireless_dev *wdev, int *dbm)
{
	*dbm = (12);

@@ -2300,8 +2300,9 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev,
	int ret = 0;
	struct adapter *adapter = rtw_netdev_priv(ndev);

	ret = rtw_add_beacon(adapter, settings->beacon.head, settings->beacon.head_len,
		settings->beacon.tail, settings->beacon.tail_len);
	ret = rtw_add_beacon(adapter, settings->beacon.head,
			     settings->beacon.head_len, settings->beacon.tail,
			     settings->beacon.tail_len);

	adapter->mlmeextpriv.mlmext_info.hidden_ssid_mode = settings->hidden_ssid;

@@ -2318,7 +2319,8 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev,
	return ret;
}

static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy,
				      struct net_device *ndev,
				      struct cfg80211_beacon_data *info)
{
	struct adapter *adapter = rtw_netdev_priv(ndev);
@@ -2332,7 +2334,8 @@ static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev,
	return 0;
}

static int	cfg80211_rtw_add_station(struct wiphy *wiphy, struct net_device *ndev,
static int	cfg80211_rtw_add_station(struct wiphy *wiphy,
					 struct net_device *ndev,
					 const u8 *mac,
					 struct station_parameters *params)
{
@@ -2396,8 +2399,10 @@ static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev
	return ret;
}

static int cfg80211_rtw_change_station(struct wiphy *wiphy, struct net_device *ndev,
				  const u8 *mac, struct station_parameters *params)
static int cfg80211_rtw_change_station(struct wiphy *wiphy,
				       struct net_device *ndev,
				       const u8 *mac,
				       struct station_parameters *params)
{
	return 0;
}
@@ -2422,8 +2427,10 @@ static struct sta_info *rtw_sta_info_get_by_idx(const int idx, struct sta_priv *
	return psta;
}

static int	cfg80211_rtw_dump_station(struct wiphy *wiphy, struct net_device *ndev,
			       int idx, u8 *mac, struct station_info *sinfo)
static int	cfg80211_rtw_dump_station(struct wiphy *wiphy,
					  struct net_device *ndev,
					  int idx, u8 *mac,
					  struct station_info *sinfo)
{
	int ret = 0;
	struct adapter *padapter = rtw_netdev_priv(ndev);
@@ -2445,7 +2452,8 @@ static int cfg80211_rtw_dump_station(struct wiphy *wiphy, struct net_device *nde
	return ret;
}

static int	cfg80211_rtw_change_bss(struct wiphy *wiphy, struct net_device *ndev,
static int	cfg80211_rtw_change_bss(struct wiphy *wiphy,
					struct net_device *ndev,
					struct bss_parameters *params)
{
	return 0;
@@ -2529,8 +2537,7 @@ static int _cfg80211_rtw_mgmt_tx(struct adapter *padapter, u8 tx_ch, const u8 *b
	return ret;
}

static int cfg80211_rtw_mgmt_tx(struct wiphy *wiphy,
	struct wireless_dev *wdev,
static int cfg80211_rtw_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev,
				struct cfg80211_mgmt_tx_params *params,
				u64 *cookie)
{