Commit 6e54c890 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Russell King

[PCMCIA] don't inform "driver services" of cardbus-related events

parent a3c1d44d
...@@ -647,6 +647,8 @@ static int send_event(socket_info_t *s, event_t event, int priority) ...@@ -647,6 +647,8 @@ static int send_event(socket_info_t *s, event_t event, int priority)
DEBUG(1, "cs: send_event(sock %d, event %d, pri %d)\n", DEBUG(1, "cs: send_event(sock %d, event %d, pri %d)\n",
s->sock, event, priority); s->sock, event, priority);
ret = 0; ret = 0;
if (s->state & SOCKET_CARDBUS)
return 0;
for (; client; client = client->next) { for (; client; client = client->next) {
if (client->state & (CLIENT_UNBOUND|CLIENT_STALE)) if (client->state & (CLIENT_UNBOUND|CLIENT_STALE))
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment