X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=hostapd%2Fhostapd.c;h=d9f39e62fd7e1bde48db484edccc15c0a57ab1b9;hb=edd360e170f15caa614bf4bb3847f5937b0517e5;hp=e9d9647604f47e88f7f8ad988a3b1b1808817207;hpb=71b6ae1425d5a347caede49a8fd8278b09d69880;p=libeap.git diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c index e9d9647..d9f39e6 100644 --- a/hostapd/hostapd.c +++ b/hostapd/hostapd.c @@ -1563,6 +1563,12 @@ static int setup_interface1(struct hostapd_iface *iface) if (hostapd_validate_bssid_configuration(iface)) return -1; +#ifdef CONFIG_IEEE80211N + SET_2BIT_LE16(&iface->ht_op_mode, + HT_INFO_OPERATION_MODE_OP_MODE_OFFSET, + OP_MODE_PURE); +#endif /* CONFIG_IEEE80211N */ + os_memcpy(country, hapd->iconf->country, 3); country[3] = '\0'; if (hostapd_set_country(hapd, country) < 0) {