diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index a485c040bf8..9fcd1e4f450 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -917,7 +917,8 @@ static void ath9k_process_rssi(struct ath_common *common, | |||
917 | int last_rssi; | 917 | int last_rssi; |
918 | __le16 fc; | 918 | __le16 fc; |
919 | 919 | ||
920 | if (ah->opmode != NL80211_IFTYPE_STATION) | 920 | if ((ah->opmode != NL80211_IFTYPE_STATION) && |
921 | (ah->opmode != NL80211_IFTYPE_ADHOC)) | ||
921 | return; | 922 | return; |
922 | 923 | ||
923 | fc = hdr->frame_control; | 924 | fc = hdr->frame_control; |