diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 22:02:14 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 22:02:14 +0000 |
commit | be7a5ba55465b6cbf08dacfa99fdbdbab500d1c1 (patch) | |
tree | 4aa52398d1561c8607e443d455e4681e285ce11d /package/kernel/broadcom-wl/src | |
parent | 5e7044815722fdab48463f31f5f0249513c86171 (diff) | |
download | upstream-be7a5ba55465b6cbf08dacfa99fdbdbab500d1c1.tar.gz upstream-be7a5ba55465b6cbf08dacfa99fdbdbab500d1c1.tar.bz2 upstream-be7a5ba55465b6cbf08dacfa99fdbdbab500d1c1.zip |
broadcom-wl: add support for setting H/W address
Some devices initialize with a default address (common to all H/W).
The address needs to be changeable so that a unique address can be
assigned to each AP.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/broadcom-wl/src')
-rw-r--r-- | package/kernel/broadcom-wl/src/wlc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/broadcom-wl/src/wlc.c b/package/kernel/broadcom-wl/src/wlc.c index 9f4abc04f9..21754a798c 100644 --- a/package/kernel/broadcom-wl/src/wlc.c +++ b/package/kernel/broadcom-wl/src/wlc.c @@ -892,6 +892,13 @@ static const struct wlc_call wlc_calls[] = { .desc = "BSSID" }, { + .name = "cur_etheraddr", + .param = MAC, + .handler = wlc_iovar, + .data.str = "cur_etheraddr", + .desc = "Current MAC Address" + }, + { .name = "default_bssid", .param = MAC, .handler = wlc_iovar, |