Due to some changes in the sysfs directory structure in kernel 2.6.33,
the file "/lib/wifi/mac80211.sh" needs to be adjusted.
The original problem was that everytime when restarting
networking/wifi a new interface "wlan(n+1)" was generated.

Old directory structure:
/sys/class/ieee80211/${phy}/device/net/wlan0
New structure:
/sys/class/ieee80211/${phy}/device/net:wlan0

Additionally every occurrence of "radio*" needs to be replaced with "wlan*".

Please review the attached patch file, maybe i there are some further changes.


P.S.: I'm using ath5k driver (AR2413 chipset) with kernel 2.6.33.2 and
current trunk (r22076).


Thank you,

qecko

Attachment: mac80211-patch.diff
Description: Binary data

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to