Opened 10 years ago

Closed 10 years ago

#2526 closed defect (fixed)

"wet" (bridge) mode is always set in when wireless.cfg2.mode='sta'

Reported by: chdh@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: wet client repeater managed bridge Cc:


The following code sequence in ( does always set "wet" mode when the configuration option wireless.cfg2.mode is "sta" (Client), regardless of whether the bridge between WIFI and LAN is configured or "broken":

53   case "$adhoc:$sta:$apmode" in
63      :1:)
64         wet=1
65         ap=0
66         mssid=0
67         ;;

This contradicts the documentation at which states, that "wet mode is enabled automatically" when the wireless interface is bridged.

The effect is, that iwconfig shows the wl0 interface in "Repeater" mode instead of "Managed" mode.

I append a patch for the Kamikaze 7.09 version of /lib/wifi/

Attachments (2) (1.1 KB) - added by chdh@… 10 years ago.
Patch for (Kamikaze 7.09 version) (1.1 KB) - added by chdh@… 10 years ago.
same Patch, but for the trunk version of

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by chdh@…

Patch for (Kamikaze 7.09 version)

Changed 10 years ago by chdh@…

same Patch, but for the trunk version of

comment:1 Changed 10 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r9529
wet mode is enabled unconditionally, beacuse it does not interfere with regular sta operation and is in fact required for some aspects of it, e.g. wpa with the built-in supplicant.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.