Clean up scanning functions and printouts

The is_scanning state is no longer needed and was an unfortunate
leftover from earlier.

The scanning works well enough to not have it using info prints any
more.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Clarify error message when loading mac addresses

Currently the mac address printout is wrong since it says it can't
readd MAC_ADDR0 for mac addresses where it doesn't even try to do
this.

Use this message only for addr[0] and another for the ones where we
use locally assigned addresses.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Use Airgo OUI on randomized fallback address

Use the Airgo oui instead of old Qcom oui for the randomized fallback
address.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove _req from wcn36xx_smd_switch_channel function

Fix naming of wcn36xx_smd_switch_channel function. It included a
suffex with _req which is not in line with our function naming.
Merge pull request #46 from Coi-l/cleanup

Cleanup
Kill ctl_wq

No point in having two workqueues.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Flush wq on DXE shutdown

Flush the wq after irq disable to make sure no work is running.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Fix error handling for DXE control block allocations

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Fix error handling for DXE memory allocations

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Don't negate return value in error path

Must be a typo.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Fix typos in comments and messages

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Fix double space in smd.c

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Merge pull request #50 from pof2/cleanup

Cleanup
Add AP mode configuration

For AP mode set correct type in smd_config_sta
and call smd_config_sta from sta_add ops.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Announce WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD

Notify upper layers that HW supports  probe_rsp offloading

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Fix memory leakage

Whenever skb is requested from mac80211 do not forget
to free it.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Merge pull request #51 from KrasnikovEugene/ap

Ap fixes