am 36f429d3: Fix typo which causes sensors to fail miserably

Merge commit '36f429d300be2550d7459b488dfc05b00ec59312' into gingerbread-plus-aosp

* commit '36f429d300be2550d7459b488dfc05b00ec59312':
  Fix typo which causes sensors to fail miserably
diff --git a/libs/gui/SensorEventQueue.cpp b/libs/gui/SensorEventQueue.cpp
index b0d0f12..f935524 100644
--- a/libs/gui/SensorEventQueue.cpp
+++ b/libs/gui/SensorEventQueue.cpp
@@ -110,7 +110,7 @@
         }
     } while (result != fd);
 
-    return result;
+    return  (result == fd) ? status_t(NO_ERROR) : result;
 }
 
 status_t SensorEventQueue::wake() const