diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2013-09-16 14:37:53 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2013-09-16 14:37:53 -0700 |
commit | e3b0dce889225eda34ecc6455eaeeaa5b12b4475 (patch) | |
tree | 4e087b4d7c2bc1611ec14832eae504475bc50f79 /src/p2p/p2p_utils.c | |
parent | 3bdda0eea1d423ad6feac810ceee94d75761d667 (diff) | |
download | wpa_supplicant_8-e3b0dce889225eda34ecc6455eaeeaa5b12b4475.tar.gz |
Android: P2P: Restrict GO channels on A-band
Bug: 10641114
Change-Id: I621ef6d5e45392d86211bc3936e85b876b96aec4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/p2p/p2p_utils.c')
-rw-r--r-- | src/p2p/p2p_utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/p2p/p2p_utils.c b/src/p2p/p2p_utils.c index e0d37560..0769edeb 100644 --- a/src/p2p/p2p_utils.c +++ b/src/p2p/p2p_utils.c @@ -249,8 +249,7 @@ int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq) u8 op_reg_class, op_channel; #ifdef ANDROID_P2P - if ((freq >= 5170 && freq < 5745) && - (os_strncasecmp(p2p->cfg->country, "US", 2) == 0)) + if (freq >= 5170 && freq < 5745) return 0; #endif if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) |