mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-13 08:02:09 -05:00
hostap-driver: Fix adhoc mode
SVN-Revision: 26199
This commit is contained in:
parent
c6e67df010
commit
df0f9d6dcc
@ -124,6 +124,7 @@ enable_prism2() {
|
|||||||
;;
|
;;
|
||||||
ap) iwconfig "$phy" mode master;;
|
ap) iwconfig "$phy" mode master;;
|
||||||
wds) iwpriv "$phy" wds_add "$ssid";;
|
wds) iwpriv "$phy" wds_add "$ssid";;
|
||||||
|
adhoc) iwconfig "$phy" mode ad-hoc;;
|
||||||
*) iwconfig "$phy" mode "$mode";;
|
*) iwconfig "$phy" mode "$mode";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user