offchannel: Use wpas_get_tx_interface() src parameter more consistently
authorJouni Malinen <j@w1.fi>
Sun, 14 Dec 2014 11:06:41 +0000 (13:06 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 14 Dec 2014 13:47:04 +0000 (15:47 +0200)
commit8e3afd7f6c912a20ac2fe04efe7bf9d57785bb97
tree6a782ff58cce27d26dfc22c2f1683698bedf6b24
parent11ace2ed1fd77c51c78d7cc7dd6c28b13da69eb9
offchannel: Use wpas_get_tx_interface() src parameter more consistently

Both the wpa_s->pending_action_src and src argument to
wpas_get_tx_interface() were used somewhat randomly. Make this more
consistent since these values are pointing to the same address and the
implementation is easier to understand when it is obvious that there is
only one address being used.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/offchannel.c