]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: Fix return values when parameters are wrong
authorOla Olsson <ola1olsson@gmail.com>
Mon, 12 Oct 2015 07:34:54 +0000 (09:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Oct 2015 09:00:31 +0000 (11:00 +0200)
commit86a9801f97aa4e9abe2fd4e6ce886bb225996ed1
tree93f85acd176f81344ef7e2f4edb9b050bfeae12f
parent24cc1cf4c0f2995b7a08f3807ce5345ce2c338ff
iw: Fix return values when parameters are wrong

According to header file, wrong parameters
yield 1 as return value.
Also tried to fix the comments since one part
of it was unreadable.

Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
interface.c
iw.h
ps.c