Modify

Opened 5 years ago

Last modified 5 years ago

#13393 assigned defect

Running 'wifi' does not disable interfaces marked as disabled on broadcom-wl devices

Reported by: Cody P Schafer <openwrt@…> Owned by: hauke
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

Instead of being able to simply re-run wifi to reconfigure wireless compeletely, this means I have to run 'wifi down' followed by 'wifi' to ensure the config is reloaded.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by hauke

  • Owner changed from developers to hauke
  • Status changed from new to assigned

comment:2 Changed 5 years ago by Zajec

https://dev.openwrt.org/browser/trunk/package/base-files/files/sbin/wifi

When you call "wifi" it results in:
*) wifi_updown "enable" "$2";;

When you call "wifi down" and "wifi" it results in:
down) wifi_updown "disable" "$2";;
and then:
*) wifi_updown "enable" "$2";;

So for me it seems that the only difference is that
wifi_updown "disable" $2
is called twice in the second case.

comment:3 Changed 5 years ago by hauke

This is the generic wifi script, I currently assume it works at least with mac80211.

The problem is probably in https://dev.openwrt.org/browser/trunk/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.