diff options
author | Gertjan van Wingerde <gwingerde@kpnplanet.nl> | 2008-10-03 20:20:32 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-06 18:14:57 -0400 |
commit | 5b5d13afeeee959a74114b73c560d3e243f34a11 (patch) | |
tree | 34f9a9ea3eb6520ac41b5ea69990e76901ed8860 /net/rfkill | |
parent | f74b6a5498049bab28419a03e4b31fcdbe7a900d (diff) | |
download | op-kernel-dev-5b5d13afeeee959a74114b73c560d3e243f34a11.zip op-kernel-dev-5b5d13afeeee959a74114b73c560d3e243f34a11.tar.gz |
rt2x00: Fix rfkill structure initialization to prevent rfkill WARN_ON.
The state field of the rfkill structure was incorrectly initialized to -1, which results in rfkill
issueing a WARN_ON. Fix this by initializing the state field to the proper value as indicated by
the driver.
Signed-off-by: Gertjan van Wingerde <gwingerde@kpnplanet.nl>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions