mac80211_hwsim: Check idle state on TX
authorJouni Malinen <j@w1.fi>
Sun, 1 Nov 2009 09:30:48 +0000 (11:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Nov 2009 20:43:26 +0000 (15:43 -0500)
commit70541839dd2eacb521fa4f8515ab696599b36ea3
tree3e82863e254f33485c00e95a88af9d33fa4c7c4e
parentc5f8289cd9b2e31fca506cb82f4aaa5ffc468602
mac80211_hwsim: Check idle state on TX

Track the idle state for hwsim radios and reject TX if mac80211 is
trying to transmit something when the radio is supposed to be idle. In
addition, do not deliver frames if the receiving radio is in the idle
state.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c