wl12xx: don't fail on AP scan
authorEliad Peller <eliad@wizery.com>
Thu, 2 Feb 2012 11:54:26 +0000 (13:54 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:35 +0000 (08:38 +0200)
commit35d7742ff31609d655f8f8b3f869647006a2ac26
tree78ec277de371e877811c43436e44670485b9f2ca
parent79aba1baf251e22fbc97a42c711c4b683807ac43
wl12xx: don't fail on AP scan

AP role uses its own role_id for scans, so there's
no reason to fail the scan if dev_role_id is invalid.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/scan.c