projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bcfc5e
)
wimax: fix warning caused by not checking retval of rfkill_set_hw_state()
author
Inaky Perez-Gonzalez
<inaky@linux.intel.com>
Thu, 11 Jun 2009 18:12:48 +0000
(11:12 -0700)
committer
Inaky Perez-Gonzalez
<inaky@linux.intel.com>
Thu, 11 Jun 2009 18:12:48 +0000
(11:12 -0700)
Caused by an API update. The return value can be safely ignored, as
there is notthing we can do with it.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
net/wimax/op-rfkill.c
patch
|
blob
|
history
diff --git
a/net/wimax/op-rfkill.c
b/net/wimax/op-rfkill.c
index bb102e4aa3e9e9e904e4bc1f3ab4a70f8721fe85..70ef4df863b974ef4ad0e199b4e4fb424b96a892 100644
(file)
--- a/
net/wimax/op-rfkill.c
+++ b/
net/wimax/op-rfkill.c
@@
-113,7
+113,8
@@
void wimax_report_rfkill_hw(struct wimax_dev *wimax_dev,
else
wimax_state = WIMAX_ST_RADIO_OFF;
- rfkill_set_hw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
+ result = rfkill_set_hw_state(wimax_dev->rfkill,
+ state == WIMAX_RF_OFF);
__wimax_state_change(wimax_dev, wimax_state);
}