P2P: Fix invalid remain-on-channel duration for frame TX
authorWei-Jen Lin <jenlin@qca.qualcomm.com>
Wed, 31 Jul 2013 20:22:04 +0000 (23:22 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 31 Jul 2013 20:22:04 +0000 (23:22 +0300)
commita2ea8d64d1caa6b5df9bc06cbfa41a3f70210f77
treedb8d2b07ecfbb8ec8c26e6edc6c7c819e51f6dd3
parentcbf41ca79646857733273d6edf6b583c9b0e2abe
P2P: Fix invalid remain-on-channel duration for frame TX

cfg80211 does not allow the zero duration of remain-on-channel. Instead,
use 20 ms as default waiting time when remain-on-channel is used to
schedule offchannel transmission that does not expect a response.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/offchannel.c