ath6kl: Send own IP addr to the firmware during WOW suspend
authorRaja Mani <rmani@qca.qualcomm.com>
Fri, 16 Dec 2011 08:54:24 +0000 (14:24 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 23 Dec 2011 12:50:06 +0000 (14:50 +0200)
commitc08631c6e43e7ce91bca6b2d3466bb22a85fe724
tree6ccc594be8211e44ed6fbbe97156481b11526951
parentca1d16a08fc2c26b693e65ad92fa37a4c778e60d
ath6kl: Send own IP addr to the firmware during WOW suspend

Firmware ARP module requires own IP addr in order to respond
to the outside world when the target is in WOW suspend state.

At present, firmware ARP module has capability to hold 2 IP addr.
So, WOW mode will be disabled if the total IP addr configured in
net_dev for our device is greater than firmware limit (MAX_IP_ADDRS)
which is 2 at this moment.

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Thirumalai Pachamuthu <tpachamu@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c