ath10k: support up to 64 vdevs
authorBen Greear <greearb@candelatech.com>
Mon, 26 Sep 2016 18:56:26 +0000 (21:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Sep 2016 12:18:33 +0000 (15:18 +0300)
commit30d2049b3277cdf6964996f86626add08cf160df
treea2ce490cf8dac2486b6561c9f7c546256c0a36e3
parent15138fdf327da6132b6e00e3d8c083476eb9aea2
ath10k: support up to 64 vdevs

The (1 << x) - 1 trick won't work when you
are trying to fill up all 64 bits, so add special
case for that.

Signed-off-by: Ben Greear <greearb@candelatech.com>
[kvalo@qca.qualcomm.com: remove the sentence about moving limits]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c