diff mbox series

net: wireless: scan.c: Remove space at start of line

Message ID 20210503162204.3lvtlgctprrez4uc@kewl-virtual-machine (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series net: wireless: scan.c: Remove space at start of line | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 45 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

Shubhankar Kuranagatti May 3, 2021, 4:22 p.m. UTC
Spaces have been removed at the start of the line
Instead of spaces tabs have been used
This is done to maintain code uniformity.

Signed-off-by: Shubhankar Kuranagatti <shubhankarvk@gmail.com>
---
 net/wireless/scan.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 019952d4fc7d..0dbdf4e820cc 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -72,7 +72,7 @@ 
 static int bss_entries_limit = 1000;
 module_param(bss_entries_limit, int, 0644);
 MODULE_PARM_DESC(bss_entries_limit,
-                 "limit to number of scan BSS entries (per wiphy, default 1000)");
+		"limit to number of scan BSS entries (per wiphy, default 1000)");
 
 #define IEEE80211_SCAN_RESULT_EXPIRE	(30 * HZ)
 
@@ -164,6 +164,7 @@  static inline void bss_ref_put(struct cfg80211_registered_device *rdev,
 
 	if (bss->pub.hidden_beacon_bss) {
 		struct cfg80211_internal_bss *hbss;
+
 		hbss = container_of(bss->pub.hidden_beacon_bss,
 				    struct cfg80211_internal_bss,
 				    pub);
@@ -1154,6 +1155,7 @@  int cfg80211_stop_sched_scan_req(struct cfg80211_registered_device *rdev,
 
 	if (!driver_initiated) {
 		int err = rdev_sched_scan_stop(rdev, req->dev, req->reqid);
+
 		if (err)
 			return err;
 	}
@@ -1181,7 +1183,7 @@  int __cfg80211_stop_sched_scan(struct cfg80211_registered_device *rdev,
 }
 
 void cfg80211_bss_age(struct cfg80211_registered_device *rdev,
-                      unsigned long age_secs)
+		unsigned long age_secs)
 {
 	struct cfg80211_internal_bss *bss;
 	unsigned long age_jiffies = msecs_to_jiffies(age_secs * MSEC_PER_SEC);
@@ -1987,7 +1989,7 @@  static const struct element
 	/*
 	 * If it is not the last subelement in current MBSSID IE or there isn't
 	 * a next MBSSID IE - profile is complete.
-	*/
+	 */
 	if ((sub_elem->data + sub_elem->datalen < mbssid_end - 1) ||
 	    !next_mbssid)
 		return NULL;
@@ -2727,6 +2729,7 @@  int cfg80211_wext_siwscan(struct net_device *dev,
 			if (wreq && wreq->num_channels) {
 				int k;
 				int wiphy_freq = wiphy->bands[band]->channels[j].center_freq;
+
 				for (k = 0; k < wreq->num_channels; k++) {
 					struct iw_freq *freq =
 						&wreq->channel_list[k];