OSDN Git Service
(root)
/
android-x86
/
system-netd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c2b26cb
)
Merge "netd: softap: Add ieee80211n=1 parameter for hotspot"
author
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 29 Feb 2012 18:00:23 +0000
(10:00 -0800)
committer
Android (Google) Code Review
<android-gerrit@google.com>
Wed, 29 Feb 2012 18:00:23 +0000
(10:00 -0800)
SoftapController.cpp
patch
|
blob
|
history
diff --git
a/SoftapController.cpp
b/SoftapController.cpp
index
20bab07
..
3e3c4cc
100644
(file)
--- a/
SoftapController.cpp
+++ b/
SoftapController.cpp
@@
-293,7
+293,8
@@
int SoftapController::setSoftap(int argc, char *argv[]) {
}
asprintf(&wbuf, "interface=%s\ndriver=nl80211\nctrl_interface="
- "/data/misc/wifi/hostapd\nssid=%s\nchannel=6\nwmm_enabled=1\n", iface, ssid);
+ "/data/misc/wifi/hostapd\nssid=%s\nchannel=6\nieee80211n=1\nwmm_enabled=1\n",
+ iface, ssid);
if (argc > 5) {
if (!strcmp(argv[5], "wpa-psk")) {