ath10k: fix IBSS scanning on wmi-tlv and qca6174
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 24 Mar 2015 13:14:03 +0000 (13:14 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 1 Apr 2015 19:43:49 +0000 (22:43 +0300)
commite57e05716d0b6272df8650e310c6a4e7920d8617
tree9a8f26124c3ce010fdc3581afeabc2a36696dfb5
parent3ae542257476e183a368055cbd9f67ba88fc8d01
ath10k: fix IBSS scanning on wmi-tlv and qca6174

WLAN.RM.2.0-00073 firmware requires self-peer to
be created prior to issuing scan command. Without
this wmi-tlv with qca6174 firmware crashes after
submitting a scan request.

Creating the peer as soon as add_interface()
shouldn't be a problem.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c