aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_go_neg.c
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-11-11 13:21:05 -0800
committerDmitry Shmidt <dimitrysh@google.com>2013-11-18 11:02:34 -0800
commit7e6eef4d7cae2a3f6b49744844c20cce3dc2ef28 (patch)
treecf6f77d8649b6633ad2dcb88662ffaf4514995e9 /src/p2p/p2p_go_neg.c
parent9958d9b2d2e7fe86372e2f3792f1bd6a5ad0ee20 (diff)
downloadandroid_external_wpa_supplicant_8-7e6eef4d7cae2a3f6b49744844c20cce3dc2ef28.tar.gz
android_external_wpa_supplicant_8-7e6eef4d7cae2a3f6b49744844c20cce3dc2ef28.tar.bz2
android_external_wpa_supplicant_8-7e6eef4d7cae2a3f6b49744844c20cce3dc2ef28.zip
Android: Remove changing oper_freq in p2p_process_go_neg_conf()
Change-Id: I01c09b4de7f6b8cc62912896e4e6fb1850de657e Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/p2p/p2p_go_neg.c')
-rw-r--r--src/p2p/p2p_go_neg.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/p2p/p2p_go_neg.c b/src/p2p/p2p_go_neg.c
index 50d6e361..7eaa8dcc 100644
--- a/src/p2p/p2p_go_neg.c
+++ b/src/p2p/p2p_go_neg.c
@@ -1145,16 +1145,6 @@ void p2p_process_go_neg_conf(struct p2p_data *p2p, const u8 *sa,
}
}
-#ifdef ANDROID_P2P
- if (msg.operating_channel) {
- dev->oper_freq = p2p_channel_to_freq(msg.operating_channel[3],
- msg.operating_channel[4]);
- p2p_dbg(p2p, "P2P: Peer operating channel preference: %d MHz",
- dev->oper_freq);
- } else
- dev->oper_freq = 0;
-#endif
-
if (!msg.channel_list) {
p2p_dbg(p2p, "Mandatory Operating Channel attribute missing from GO Negotiation Confirmation");
#ifdef CONFIG_P2P_STRICT