Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134091
b: refs/heads/master
c: 64d7468
h: refs/heads/master
i:
  134089: 9c38f6d
  134087: 6770701
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Jan 29, 2009
1 parent 5c0f81e commit 3c1cf9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46f2c4bd7e2ba2cfedbcd4fe15d316eebc608cba
refs/heads/master: 64d74681433415855da02d2516f28d2ed859cde9
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/rt2x00/rt2x00rfkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ void rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev)
{
struct input_polled_dev *poll_dev;

if (test_bit(RFKILL_STATE_ALLOCATED, &rt2x00dev->rfkill_state))
if (test_bit(RFKILL_STATE_ALLOCATED, &rt2x00dev->rfkill_state) ||
!test_bit(CONFIG_SUPPORT_HW_BUTTON, &rt2x00dev->flags))
return;

poll_dev = input_allocate_polled_device();
Expand Down

0 comments on commit 3c1cf9e

Please sign in to comment.