mac80211_hwsim: add fake hw scan handler
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 3 Feb 2010 09:47:55 +0000 (10:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:50:52 +0000 (16:50 -0500)
commit690680360cd22b55235481ca3421a3450a96138a
tree67b730c71d23c24a68ffc0fc85847aa17069fa64
parent6e7e6213e4956828927c30e3ef5a42812d00c650
mac80211_hwsim: add fake hw scan handler

For debugging hardware scan trigger/complete
functionality, it was useful to have code in
hwsim that pretends to do a hardware scan.

This code could be extended to actually do the
scan, but for now it was sufficient for me to
only pretend. Since hwsim was written to ease
debugging, it only makes sense to add it to it
permanently.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c