]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b2f2ace4ac604ddf7a51d1b4f9b3dbfa523e763
tree67b730c71d23c24a68ffc0fc85847aa17069fa64
parent9ebff10eee34e9ef5ad049b2eba0839b5cbb557a
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