Commit 4745fc09 authored by Kalle Valo's avatar Kalle Valo Committed by John W. Linville
Browse files

nl80211: add testmode to the list of supported commands

User space might want to test if driver supports testmode. Adding testmode
to the list of supported commands makes this easier.

I omitted testmode_dump() in purpose. I assume all drivers implementing
testmode_dump() will also implement testmode_cmd().

Signed-off-by: default avatarKalle Valo <>
Signed-off-by: default avatarJohn W. Linville <>
parent fb4431bf
......@@ -904,6 +904,10 @@ static int nl80211_send_wiphy(struct sk_buff *msg, u32 pid, u32 seq, int flags,
CMD(testmode_cmd, TESTMODE);
#undef CMD
if (dev->ops->connect || dev->ops->auth) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment