Skip to content

Commit bac62bc

Browse files
committed
Fix for pwnlib
1 parent f7a5f2a commit bac62bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder/data/usr/bin/pwnlib

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ reload_brcm() {
3939
start_monitor_interface() {
4040
rfkill unblock all
4141
ifconfig wlan0 up
42+
sleep 3
4243
iw dev wlan0 set power_save off
4344
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add wlan0mon type monitor
45+
sleep 2
4446
rfkill unblock all
4547
ifconfig wlan0 down
4648
ifconfig wlan0mon up
@@ -54,7 +56,7 @@ stop_monitor_interface() {
5456
ifconfig wlan0 up
5557
}
5658

57-
# returns 0 if the specificed network interface is up
59+
# returns 0 if the specified network interface is up
5860
is_interface_up() {
5961
if grep -qi 'up' /sys/class/net/"$1"/operstate; then
6062
return 0

0 commit comments

Comments
 (0)