mac80211: fix led behavior in IBSS
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 22 Sep 2008 14:10:10 +0000 (17:10 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Sep 2008 20:18:03 +0000 (16:18 -0400)
commit4492bea656b70dad6a9ae7b59b1430fa38ba3345
treed2a86720fd6a4e8fb72554caeed63d6e89bf224f
parente6c948e8b8e565c7666ea482994e422c4f19ea44
mac80211: fix led behavior in IBSS

This patch fixes the led behavior in IBSS. After we joined an IBSS cell we
need to inform the led that we got associated. Although there is no 802.11
association in IBSS mode, the semantic of "There is a link" is relevant.
This allows the led to blink in IBSS mode (at least this solves a bug for
iwlwifi).

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c