wlcore: set default_wep_key when configured
authorYoni Divinsky <yoni.divinsky@ti.com>
Sun, 12 May 2013 09:35:28 +0000 (12:35 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 17 Jun 2013 09:14:29 +0000 (12:14 +0300)
commitba1e6eb96d73eb1b2be6d67a55a799477b14a353
treea42d2471754510b2488148708a65b0a26fdf661e
parentbc2ab3b850a8c563b3910f396e5f0753ce855134
wlcore: set default_wep_key when configured

When associating to an AP with WEP set the
default key upon association by implementing
the set_deafult_key_idx op.

Fixes auto-arp sent with wrong key_idx bug.

Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/tx.c