Skip to content

Commit acc57cb

Browse files
committed
RDKBACCL-834: WiFi is broadcasted in Bridge mode
Reason for change: Added code to remove all wifi interfaces from brlan0 during bridge mode Test Procedure: 1. Flash the Image and boot up the device 2. Switch to Bridge mode using below cmd dmcli eRT setv Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode string bridge-static 3. Verify that wifi interfaces are removed from brlan0 bridge using below command brctl show brlan0 Risks: None Signed-off-by: Prabhudas Gannavarapu <[email protected]>
1 parent abd1df9 commit acc57cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

meta-rdk-mtk-bpir4/recipes-ccsp/util/utopia/service_bridge_bpi.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,11 @@ add_to_group()
579579
wifi_wifi2=`iwconfig wifi2|grep IEEE\ 802.11 | wc -l`
580580
if [ $wifi_wifi0 == "1" ] ; then
581581
brctl delif "$bridge_name" wifi0
582-
elif [ $wifi_wifi1 == "1" ]; then
582+
fi
583+
if [ $wifi_wifi1 == "1" ]; then
583584
brctl delif "$bridge_name" wifi1
584-
elif [ $wifi_wifi2 == "1" ]; then
585+
fi
586+
if [ $wifi_wifi2 == "1" ]; then
585587
brctl delif "$bridge_name" wifi2
586588
fi
587589

0 commit comments

Comments
 (0)