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:
3e41de8
)
iwlegacy: remove unneeded disable_hw_scan check
author
Stanislaw Gruszka
<
[email protected]
>
Thu, 28 Apr 2011 09:51:27 +0000
(11:51 +0200)
committer
John W. Linville
<
[email protected]
>
Fri, 29 Apr 2011 19:36:14 +0000
(15:36 -0400)
We never set STATUS_SCANNING in softwre scanning mode, disable_hw_scan
check is unneeded. Correct debug message while at it.
Signed-off-by: Stanislaw Gruszka <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/iwlegacy/iwl-core.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlegacy/iwl-core.c
b/drivers/net/wireless/iwlegacy/iwl-core.c
index 82201aca8e9945e46733546215b5f36d5a821524..9676b3d5b91c3c8ea49a8be5d2ffd2806ae6e173 100644
(file)
--- a/
drivers/net/wireless/iwlegacy/iwl-core.c
+++ b/
drivers/net/wireless/iwlegacy/iwl-core.c
@@
-2114,10
+2114,9
@@
int iwl_legacy_mac_config(struct ieee80211_hw *hw, u32 changed)
IWL_DEBUG_MAC80211(priv, "enter to channel %d changed 0x%X\n",
channel->hw_value, changed);
- if (unlikely(!priv->cfg->mod_params->disable_hw_scan &&
- test_bit(STATUS_SCANNING, &priv->status))) {
+ if (unlikely(test_bit(STATUS_SCANNING, &priv->status))) {
scan_active = 1;
- IWL_DEBUG_MAC80211(priv, "
leave - scanning
\n");
+ IWL_DEBUG_MAC80211(priv, "
scan active
\n");
}
if (changed & (IEEE80211_CONF_CHANGE_SMPS |