summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2017-07-10 19:33:46 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2017-10-04 13:42:59 +0900
commit08bbe9c23ba4a6bf18c8101b1503d127d1242a6f (patch)
treee54c5ebc08784aa88526c2e7db291e17d84add82
parent7830172193c1ed429e5423dea0b4f2c3e5264d7a (diff)
downloadlinux-3.10-artik-08bbe9c23ba4a6bf18c8101b1503d127d1242a6f.tar.gz
linux-3.10-artik-08bbe9c23ba4a6bf18c8101b1503d127d1242a6f.tar.bz2
linux-3.10-artik-08bbe9c23ba4a6bf18c8101b1503d127d1242a6f.zip
net: bcmdhd: fix misleading-indentation build warning
This patch fixes following build warning caused by wrong indent: drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_mgmt_tx': drivers/net/wireless/bcmdhd/wl_cfg80211.c:5796:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dev == bcmcfg_to_prmry_ndev(cfg)) && cfg->p2p) ^~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:5798:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' wl_cfgp2p_set_management_ie(cfg, dev, bssidx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: I6ab0087a11b9a1a2be05211ba0ef751ff8f564b7 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--drivers/net/wireless/bcmdhd/wl_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcmdhd/wl_cfg80211.c b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index 2a13bf9262f..51cf4c91b38 100644
--- a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@ -5795,7 +5795,7 @@ wl_cfg80211_mgmt_tx(struct wiphy *wiphy, bcm_struct_cfgdev *cfgdev,
s32 ie_len = len - ie_offset;
if ((dev == bcmcfg_to_prmry_ndev(cfg)) && cfg->p2p)
bssidx = wl_to_p2p_bss_bssidx(cfg, P2PAPI_BSSCFG_DEVICE);
- wl_cfgp2p_set_management_ie(cfg, dev, bssidx,
+ wl_cfgp2p_set_management_ie(cfg, dev, bssidx,
VNDR_IE_PRBRSP_FLAG, (u8 *)(buf + ie_offset), ie_len);
cfg80211_mgmt_tx_status(cfgdev, *cookie, buf, len, true, GFP_KERNEL);
goto exit;