diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-10-22 17:07:25 +0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:45 -0400 |
commit | cfa3fa405a5eafd5d5c53b18abc00ca998c35eef (patch) | |
tree | d2be111acfed0d9f563453eb205642d05c964f89 /net/wireless/lib80211.c | |
parent | 9b24001db145cf1da76a479918373c18aa10bb4b (diff) | |
download | blackbird-obmc-linux-cfa3fa405a5eafd5d5c53b18abc00ca998c35eef.tar.gz blackbird-obmc-linux-cfa3fa405a5eafd5d5c53b18abc00ca998c35eef.zip |
Fix debugfs_create_*'s error checking method for wireless/rt2x00/
debugfs_create_*() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/lib80211.c')
0 files changed, 0 insertions, 0 deletions