Skip to content

Commit 2a244db

Browse files
author
Adham Abozaeid
committed
Adding new lines before recently added if conditions in change_virtual_intf
Signed-off-by: Adham Abozaeid <[email protected]>
1 parent a1e36fc commit 2a244db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wilc/wilc_wfi_cfgoperations.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev,
17611761
if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE)
17621762
wilc_wfi_deinit_mon_interface(wl, true);
17631763
vif->iftype = WILC_STATION_MODE;
1764+
17641765
if (wl->initialized)
17651766
wilc_set_operation_mode(vif, wilc_get_vif_idx(vif),
17661767
WILC_STATION_MODE, vif->idx);
@@ -1777,6 +1778,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev,
17771778
priv->wdev.iftype = type;
17781779
vif->monitor_flag = 0;
17791780
vif->iftype = WILC_CLIENT_MODE;
1781+
17801782
if (wl->initialized)
17811783
wilc_set_operation_mode(vif, wilc_get_vif_idx(vif),
17821784
WILC_STATION_MODE, vif->idx);
@@ -1788,6 +1790,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev,
17881790
dev->ieee80211_ptr->iftype = type;
17891791
priv->wdev.iftype = type;
17901792
vif->iftype = WILC_AP_MODE;
1793+
17911794
if (wl->initialized)
17921795
wilc_set_operation_mode(vif, wilc_get_vif_idx(vif),
17931796
WILC_AP_MODE, vif->idx);
@@ -1801,6 +1804,7 @@ static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev,
18011804
dev->ieee80211_ptr->iftype = type;
18021805
priv->wdev.iftype = type;
18031806
vif->iftype = WILC_GO_MODE;
1807+
18041808
if (wl->initialized)
18051809
wilc_set_operation_mode(vif, wilc_get_vif_idx(vif),
18061810
WILC_AP_MODE, vif->idx);

0 commit comments

Comments
 (0)